Sha256: b9689bf04a7a24b26c63fdacc27e45a0e97a07b419459e81c8ad69a657a78c65

Contents?: true

Size: 1.22 KB

Versions: 11

Compression:

Stored size: 1.22 KB

Contents

<% content_for :page_actions do %>
  <% if @return_authorization.can_cancel? %>
    <%= button_link_to Spree.t('actions.cancel'), fire_admin_order_return_authorization_url(@order, @return_authorization, e: 'cancel'), method: :put, data: { confirm: Spree.t(:are_you_sure) }, icon: "delete" %>
  <% end %>
  <%= button_link_to Spree.t(:back), spree.admin_order_return_authorizations_url(@order), icon: 'arrow-left' %>
<% end %>

<%= render partial: 'spree/admin/shared/order_tabs', locals: { current: :return_authorizations } %>

<% content_for :page_title do %>
  / <%= Spree.t(:return_authorization) %> <%= @return_authorization.number %> (<%= Spree.t(@return_authorization.state.downcase) %>)
<% end %>

<%= render partial: 'spree/admin/shared/error_messages', locals: { target: @return_authorization } %>

<%= form_for [:admin, @order, @return_authorization] do |f| %>
  <fieldset>
    <%= render partial: 'form', locals: { f: f } %>

    <div class="form-actions" data-hook="buttons">
      <%= button Spree.t('actions.update'), 'repeat' %>
      <span class="or"><%= Spree.t(:or) %></span>
      <%= button_link_to Spree.t('actions.cancel'), spree.admin_order_return_authorizations_url(@order), icon: 'delete' %>
    </div>
  </fieldset>
<% end %>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
spree_backend-3.0.10 app/views/spree/admin/return_authorizations/edit.html.erb
spree_backend-3.0.9 app/views/spree/admin/return_authorizations/edit.html.erb
spree_backend-3.1.0.rc1 app/views/spree/admin/return_authorizations/edit.html.erb
spree_backend-3.0.8 app/views/spree/admin/return_authorizations/edit.html.erb
spree_backend-3.0.7 app/views/spree/admin/return_authorizations/edit.html.erb
spree_backend-3.0.6.1 app/views/spree/admin/return_authorizations/edit.html.erb
spree_backend-3.0.6 app/views/spree/admin/return_authorizations/edit.html.erb
spree_backend-3.0.5 app/views/spree/admin/return_authorizations/edit.html.erb
spree_backend-3.0.4 app/views/spree/admin/return_authorizations/edit.html.erb
spree_backend-3.0.3 app/views/spree/admin/return_authorizations/edit.html.erb
spree_backend-3.0.2 app/views/spree/admin/return_authorizations/edit.html.erb