Sha256: 6d8172b97099734d29d840dc6932cbf5f6d1b5e6a111799d844b73d84b0f6d43

Contents?: true

Size: 1.23 KB

Versions: 15

Compression:

Stored size: 1.23 KB

Contents

<% content_for :page_actions do %>
  <% if @return_authorization.can_cancel? %>
    <li>
      <%= 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) } %>
    </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} (#{Spree.t(@return_authorization.state.downcase)})") %>


<%= 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 Spree.t('actions.update') %>
        <%= button_link_to Spree.t('actions.cancel'), admin_order_return_authorizations_url(@order) %>
      </div>
    </fieldset>
	<% end %>
</div>

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
solidus_backend-2.1.1 app/views/spree/admin/return_authorizations/edit.html.erb
solidus_backend-2.0.3 app/views/spree/admin/return_authorizations/edit.html.erb
solidus_backend-1.4.2 app/views/spree/admin/return_authorizations/edit.html.erb
solidus_backend-2.0.2 app/views/spree/admin/return_authorizations/edit.html.erb
solidus_backend-1.4.1 app/views/spree/admin/return_authorizations/edit.html.erb
solidus_backend-2.1.0 app/views/spree/admin/return_authorizations/edit.html.erb
solidus_backend-2.1.0.rc1 app/views/spree/admin/return_authorizations/edit.html.erb
solidus_backend-2.0.1 app/views/spree/admin/return_authorizations/edit.html.erb
solidus_backend-2.1.0.beta1 app/views/spree/admin/return_authorizations/edit.html.erb
solidus_backend-2.0.0 app/views/spree/admin/return_authorizations/edit.html.erb
solidus_backend-1.4.0 app/views/spree/admin/return_authorizations/edit.html.erb
solidus_backend-2.0.0.rc1 app/views/spree/admin/return_authorizations/edit.html.erb
solidus_backend-1.4.0.rc1 app/views/spree/admin/return_authorizations/edit.html.erb
solidus_backend-2.0.0.beta1 app/views/spree/admin/return_authorizations/edit.html.erb
solidus_backend-1.4.0.beta1 app/views/spree/admin/return_authorizations/edit.html.erb