generated from ita-social-projects/DevTemplate
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
30cfb7c
commit 93b3629
Showing
1 changed file
with
0 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1 @@ | ||
<%= render "shared/under_construction" %> | ||
|
||
<!-- <div class="main-show-container"> | ||
<%= link_to account_calculators_path, class: "back-arrow" do %> | ||
<%= inline_svg "icons/arrow-left.svg", class: "z-1 mr-2 mb-0.5" %> | ||
<span class="text-sm"><%= t('buttons.back') %></span> | ||
<% end %> | ||
<div class="calc-details mb-4"> | ||
<span class="showpage-text"><%= t('.name') %>:</span> | ||
<p class="text-2xl font-extrabold"> <%= @calculator.name %> </p> | ||
</div> | ||
<div class="calc-details mb-6"> | ||
<span class="showpage-text"><%= t('.slug') %>:</span> | ||
<p class="font-bold"> <%= @calculator.slug %> </p> | ||
</div> | ||
<div class="showpage-buttons"> | ||
<%= link_to t('.edit'), | ||
edit_account_calculator_path(@calculator.slug, locale: I18n.locale), | ||
class: "btn btn-green" %> | ||
<%= button_to account_calculator_path(@calculator.slug, locale: I18n.locale), | ||
method: :delete, | ||
data: { turbo_confirm: t('.confirm_delete') }, | ||
class: "btn btn-danger" do %> | ||
<%= t('.delete') %> | ||
<% end %> | ||
</div> | ||
</div> --> |