<% 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 %>