Sha256: 261609041a8b1142dd85513a4d86412ac3a25b6193b28cfc63856257791b199d

Contents?: true

Size: 1.32 KB

Versions: 101

Compression:

Stored size: 1.32 KB

Contents

<% content_for :page_actions do %>
  <% if @return_authorization.can_cancel? %>
    <li>
      <%= button_to t('spree.actions.cancel'), fire_admin_order_return_authorization_url(@order, @return_authorization, e: 'cancel'), method: :put, data: { confirm: t('spree.are_you_sure') } %>
    </li>
  <% end %>
<% end %>

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

<% admin_breadcrumb(link_to plural_resource_name(Spree::ReturnAuthorization), spree.admin_order_return_authorizations_url) %>
<% admin_breadcrumb(
  """
    #{ @return_authorization.number }
    (#{ t(
      @return_authorization.state,
      scope: 'spree.return_authorization_states'
    ) })
  """
) %>

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

<div data-hook="return-authorization-form-wrapper">
	<%= form_for [:admin, @order, @return_authorization] do |f| %>
	  <fieldset class="no-border-top">
	    <%= render partial: 'form', locals: { f: f } %>

      <div class="form-buttons filter-actions actions" data-hook="buttons">
        <%= button_tag t('spree.actions.update'), class: 'btn btn-primary' %>
        <%= link_to t('spree.actions.cancel'), admin_order_return_authorizations_url(@order), class: 'btn btn-primary' %>
      </div>
    </fieldset>
	<% end %>
</div>

Version data entries

101 entries across 101 versions & 2 rubygems

Version Path
solidus_backend-2.10.5 app/views/spree/admin/return_authorizations/edit.html.erb
solidus_backend-2.11.10 app/views/spree/admin/return_authorizations/edit.html.erb
solidus_backend-3.0.1 app/views/spree/admin/return_authorizations/edit.html.erb
solidus_backend-3.0.0 app/views/spree/admin/return_authorizations/edit.html.erb
solidus_backend-2.11.9 app/views/spree/admin/return_authorizations/edit.html.erb
solidus_backend-2.11.8 app/views/spree/admin/return_authorizations/edit.html.erb
solidus_backend-2.11.7 app/views/spree/admin/return_authorizations/edit.html.erb
solidus_backend-2.11.6 app/views/spree/admin/return_authorizations/edit.html.erb
solidus_backend-3.0.0.rc2 app/views/spree/admin/return_authorizations/edit.html.erb
solidus_backend-2.11.5 app/views/spree/admin/return_authorizations/edit.html.erb
solidus_backend-2.11.4 app/views/spree/admin/return_authorizations/edit.html.erb
solidus_backend-2.11.3 app/views/spree/admin/return_authorizations/edit.html.erb
solidus_backend-2.11.2 app/views/spree/admin/return_authorizations/edit.html.erb
solidus_backend-2.11.1 app/views/spree/admin/return_authorizations/edit.html.erb
solidus_backend-2.10.3 app/views/spree/admin/return_authorizations/edit.html.erb
solidus_backend-2.11.0 app/views/spree/admin/return_authorizations/edit.html.erb
solidus_backend-2.10.2 app/views/spree/admin/return_authorizations/edit.html.erb
solidus_backend-2.9.6 app/views/spree/admin/return_authorizations/edit.html.erb
solidus_backend-2.8.6 app/views/spree/admin/return_authorizations/edit.html.erb
solidus_backend-2.10.1 app/views/spree/admin/return_authorizations/edit.html.erb