Sha256: 6001719647623911f11b68fbd29ab800cef46dbefa7dd1d7793501d3504433a5

Contents?: true

Size: 1.22 KB

Versions: 31

Compression:

Stored size: 1.22 KB

Contents

<% admin_breadcrumb(link_to plural_resource_name(Spree::LegacyUser), spree.admin_users_path) %>
<% admin_breadcrumb(link_to @user.email, edit_admin_user_url(@user)) %>
<% admin_breadcrumb(link_to plural_resource_name(Spree::StoreCredit), spree.admin_user_store_credits_path(@user)) %>
<% admin_breadcrumb(link_to Spree::StoreCredit.model_name.human, admin_user_store_credit_path(@user, @store_credit)) %>
<% admin_breadcrumb(Spree.t(:edit)) %>


<%= render 'spree/admin/users/sidebar' %>
<%= render 'spree/admin/users/tabs', current: :store_credits %>
<% content_for :page_actions do %>
<% end %>

<%= form_for [:admin, @user, @store_credit], url: invalidate_admin_user_store_credit_path, method: :put do |f| %>
  <fieldset>
    <legend align="center"><%= Spree.t("admin.store_credits.invalidate_store_credit") %></legend>
    <div data-hook="admin_store_credit_form_fields" class="row">
      <%= render partial: 'update_reason_field', locals: { f: f } %>
    </div>
    <div class="form-buttons filter-actions actions" data-hook="buttons">
      <%= button Spree.t('store_credit.actions.invalidate') %>
      <%= button_link_to Spree.t('actions.cancel'), admin_user_store_credit_path(@user, @store_credit) %>
    </div>
  </fieldset>
<% end %>

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
solidus_backend-2.4.2 app/views/spree/admin/store_credits/edit_validity.html.erb
solidus_backend-2.4.1 app/views/spree/admin/store_credits/edit_validity.html.erb
solidus_backend-2.3.1 app/views/spree/admin/store_credits/edit_validity.html.erb
solidus_backend-2.2.2 app/views/spree/admin/store_credits/edit_validity.html.erb
solidus_backend-2.1.1 app/views/spree/admin/store_credits/edit_validity.html.erb
solidus_backend-2.0.3 app/views/spree/admin/store_credits/edit_validity.html.erb
solidus_backend-1.4.2 app/views/spree/admin/store_credits/edit_validity.html.erb
solidus_backend-2.4.0 app/views/spree/admin/store_credits/edit_validity.html.erb
solidus_backend-2.4.0.rc1 app/views/spree/admin/store_credits/edit_validity.html.erb
solidus_backend-2.4.0.beta1 app/views/spree/admin/store_credits/edit_validity.html.erb
solidus_backend-2.3.0 app/views/spree/admin/store_credits/edit_validity.html.erb
solidus_backend-2.3.0.rc3 app/views/spree/admin/store_credits/edit_validity.html.erb
solidus_backend-2.3.0.rc2 app/views/spree/admin/store_credits/edit_validity.html.erb
solidus_backend-2.3.0.rc1 app/views/spree/admin/store_credits/edit_validity.html.erb
solidus_backend-2.3.0.beta1 app/views/spree/admin/store_credits/edit_validity.html.erb
solidus_backend-2.0.2 app/views/spree/admin/store_credits/edit_validity.html.erb
solidus_backend-1.4.1 app/views/spree/admin/store_credits/edit_validity.html.erb
solidus_backend-2.2.1 app/views/spree/admin/store_credits/edit_validity.html.erb
solidus_backend-2.2.0 app/views/spree/admin/store_credits/edit_validity.html.erb
solidus_backend-2.2.0.rc1 app/views/spree/admin/store_credits/edit_validity.html.erb