Sha256: 7342c1e0229294e09bf5d6ee4c12bd1bba12ff66831096cb55835c84c501f915

Contents?: true

Size: 1.17 KB

Versions: 99

Compression:

Stored size: 1.17 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 %>
<% end %>

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

<% content_for :page_title do %>
  / <%= link_to Spree.t(:return_authorizations), spree.admin_order_return_authorizations_url %>
  / <%= @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

99 entries across 99 versions & 1 rubygems

Version Path
spree_backend-3.6.6 app/views/spree/admin/return_authorizations/edit.html.erb
spree_backend-3.6.5 app/views/spree/admin/return_authorizations/edit.html.erb
spree_backend-3.6.4 app/views/spree/admin/return_authorizations/edit.html.erb
spree_backend-3.6.3 app/views/spree/admin/return_authorizations/edit.html.erb
spree_backend-3.6.2 app/views/spree/admin/return_authorizations/edit.html.erb
spree_backend-3.6.1 app/views/spree/admin/return_authorizations/edit.html.erb
spree_backend-3.6.0 app/views/spree/admin/return_authorizations/edit.html.erb
spree_backend-3.5.0 app/views/spree/admin/return_authorizations/edit.html.erb
spree_backend-3.3.6 app/views/spree/admin/return_authorizations/edit.html.erb
spree_backend-3.2.8 app/views/spree/admin/return_authorizations/edit.html.erb
spree_backend-3.1.13 app/views/spree/admin/return_authorizations/edit.html.erb
spree_backend-3.6.0.rc1 app/views/spree/admin/return_authorizations/edit.html.erb
spree_backend-3.5.0.rc2 app/views/spree/admin/return_authorizations/edit.html.erb
spree_backend-3.5.0.rc1 app/views/spree/admin/return_authorizations/edit.html.erb
spree_backend-3.4.5 app/views/spree/admin/return_authorizations/edit.html.erb
spree_backend-3.3.5 app/views/spree/admin/return_authorizations/edit.html.erb
spree_backend-3.4.4 app/views/spree/admin/return_authorizations/edit.html.erb
spree_backend-3.4.3 app/views/spree/admin/return_authorizations/edit.html.erb
spree_backend-3.3.4 app/views/spree/admin/return_authorizations/edit.html.erb
spree_backend-3.2.7 app/views/spree/admin/return_authorizations/edit.html.erb