Sha256: 53a92f2075b552977efd5a1d0ae98ede33734d5acb18f0fc393f89fb9bee8a73
Contents?: true
Size: 1.13 KB
Versions: 6
Compression:
Stored size: 1.13 KB
Contents
<%= render partial: 'spree/admin/shared/product_tabs', locals: { current: 'Documents' } %> <%= render partial: 'spree/shared/error_messages', locals: { target: @attachment } %> <% admin_breadcrumb(link_to(plural_resource_name(Spree::Attachment), admin_product_attachments_path(@product))) %> <% admin_breadcrumb(@attachment.attachment_file_name) %> <% content_for :page_actions do %> <li><%= button_to t('spree.admin.attachments.edit.back_to_attachments_list'), admin_product_attachments_url(@product) %></li> <% end %> <%= form_for [:admin, @product, @attachment], html: { multipart: true } do |f| %> <fieldset data-hook="edit_attachment"> <legend align="center"><%= @attachment.attachment_file_name %></legend> <div class="row"> <div class="col"> <%= render partial: 'form', locals: { f: f } %> </div> </div> <div class="form-buttons filter-actions actions" data-hook="buttons"> <%= button_tag t('spree.actions.update') %> <%= link_to t('spree.actions.cancel'), admin_product_attachments_url(@product), id: 'cancel-link', class: 'button' %> </div> </fieldset> <% end %>
Version data entries
6 entries across 6 versions & 1 rubygems