Sha256: a9940ccdc9608ff0fff1123e00f3ce5eabcd886d2a21874ad5097237abc3ca94

Contents?: true

Size: 1.31 KB

Versions: 26

Compression:

Stored size: 1.31 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(t('spree.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"><%= t('spree.admin.store_credits.invalidate_store_credit') %></legend>
    <div data-hook="admin_store_credit_form_fields" class="row">
      <div class="col-12">
        <%= render partial: 'update_reason_field', locals: { f: f } %>
      </div>
    </div>
    <div class="form-buttons filter-actions actions" data-hook="buttons">
      <%= button_tag t('spree.store_credit.actions.invalidate'), class: 'btn btn-primary' %>
      <%= link_to t('spree.actions.cancel'), admin_user_store_credit_path(@user, @store_credit), class: 'btn btn-primary' %>
    </div>
  </fieldset>
<% end %>

Version data entries

26 entries across 26 versions & 2 rubygems

Version Path
solidus_backend-2.6.6 app/views/spree/admin/store_credits/edit_validity.html.erb
solidus_backend-2.7.4 app/views/spree/admin/store_credits/edit_validity.html.erb
solidus_backend-2.7.3 app/views/spree/admin/store_credits/edit_validity.html.erb
solidus_backend-2.6.5 app/views/spree/admin/store_credits/edit_validity.html.erb
solidus_backend-2.7.2 app/views/spree/admin/store_credits/edit_validity.html.erb
solidus_backend-2.6.4 app/views/spree/admin/store_credits/edit_validity.html.erb
solidus_backend-2.6.3 app/views/spree/admin/store_credits/edit_validity.html.erb
solidus_backend-2.7.1 app/views/spree/admin/store_credits/edit_validity.html.erb
solidus_backend-2.6.2 app/views/spree/admin/store_credits/edit_validity.html.erb
solidus_backend_devise_token_auth-2.8.0.alpha.14 app/views/spree/admin/store_credits/edit_validity.html.erb
solidus_backend_devise_token_auth-2.8.0.alpha.13 app/views/spree/admin/store_credits/edit_validity.html.erb
solidus_backend_devise_token_auth-2.8.0.alpha.12 app/views/spree/admin/store_credits/edit_validity.html.erb
solidus_backend_devise_token_auth-2.8.0.alpha.11 app/views/spree/admin/store_credits/edit_validity.html.erb
solidus_backend_devise_token_auth-2.8.0.alpha.10 app/views/spree/admin/store_credits/edit_validity.html.erb
solidus_backend_devise_token_auth-2.8.0.alpha.9 app/views/spree/admin/store_credits/edit_validity.html.erb
solidus_backend_devise_token_auth-2.8.0.alpha.8 app/views/spree/admin/store_credits/edit_validity.html.erb
solidus_backend_devise_token_auth-2.8.0.alpha.7 app/views/spree/admin/store_credits/edit_validity.html.erb
solidus_backend_devise_token_auth-2.8.0.alpha.6 app/views/spree/admin/store_credits/edit_validity.html.erb
solidus_backend_devise_token_auth-2.8.0.alpha.5 app/views/spree/admin/store_credits/edit_validity.html.erb
solidus_backend_devise_token_auth-2.8.0.alpha.4 app/views/spree/admin/store_credits/edit_validity.html.erb