mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-14 21:24:54 +08:00
11 lines
530 B
Text
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 %>
|