scinote-web/app/views/my_modules/show.html.erb
2016-07-21 13:11:15 +02:00

11 lines
530 B
Text

<% provide(:head_title, raw(t("my_modules.show.head_title", project: @my_module.project.name, module: @my_module.name))) %>
<%= render partial: "shared/sidebar" %>
<%= render partial: "shared/secondary_navigation" %>
<% unless @my_module.archived %>
<%= form_for @my_module, method: :patch, format: :html do |f| %>
<%= f.hidden_field :archived, value: true %>
<%= button_tag t('my_modules.show.archive_action'), class: 'btn btn-danger',
data: { confirm: t('my_modules.show.archive_confirm_text') } %>
<% end %>
<% end %>