Sha256: f4a6449220d4269a84549c5754582f7ab663d5ac6e38ae6aeb1e167e4c0464ca

Contents?: true

Size: 1.13 KB

Versions: 27

Compression:

Stored size: 1.13 KB

Contents

<% content_for :page_title do %>
  <%= link_to "#{Spree.t(:editing_user)} #{@user.email}", edit_admin_user_url(@user) %>
<% end %>

<%= render :partial => 'spree/admin/users/sidebar', :locals => { :current => :store_credits } %>
<% content_for :page_actions do %>
  <li><%= link_to_with_icon 'arrow-left', Spree.t("admin.store_credits.back_to_edit"), admin_user_store_credit_path(@user, @store_credit), class: 'button' %></li>
<% 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'), 'ban' %>
      <span class="or"><%= Spree.t(:or) %></span>
      <%= button_link_to Spree.t('actions.cancel'), admin_user_store_credit_path(@user, @store_credit), icon: 'remove' %>
    </div>
  </fieldset>
<% end %>

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
solidus_backend-1.2.3 app/views/spree/admin/store_credits/edit_validity.html.erb
solidus_backend-1.1.4 app/views/spree/admin/store_credits/edit_validity.html.erb
solidus_backend-1.0.7 app/views/spree/admin/store_credits/edit_validity.html.erb
solidus_backend-1.0.6 app/views/spree/admin/store_credits/edit_validity.html.erb
solidus_backend-1.2.2 app/views/spree/admin/store_credits/edit_validity.html.erb
solidus_backend-1.2.1 app/views/spree/admin/store_credits/edit_validity.html.erb
solidus_backend-1.1.3 app/views/spree/admin/store_credits/edit_validity.html.erb
solidus_backend-1.0.5 app/views/spree/admin/store_credits/edit_validity.html.erb
solidus_backend-1.2.0 app/views/spree/admin/store_credits/edit_validity.html.erb
solidus_backend-1.2.0.rc2 app/views/spree/admin/store_credits/edit_validity.html.erb
solidus_backend-1.0.4 app/views/spree/admin/store_credits/edit_validity.html.erb
solidus_backend-1.1.2 app/views/spree/admin/store_credits/edit_validity.html.erb
solidus_backend-1.2.0.rc1 app/views/spree/admin/store_credits/edit_validity.html.erb
solidus_backend-1.2.0.beta1 app/views/spree/admin/store_credits/edit_validity.html.erb
solidus_backend-1.0.3 app/views/spree/admin/store_credits/edit_validity.html.erb
solidus_backend-1.1.1 app/views/spree/admin/store_credits/edit_validity.html.erb
solidus_backend-1.1.0 app/views/spree/admin/store_credits/edit_validity.html.erb
solidus_backend-1.1.0.pre2 app/views/spree/admin/store_credits/edit_validity.html.erb
solidus_backend-1.1.0.pre1 app/views/spree/admin/store_credits/edit_validity.html.erb
solidus_backend-1.1.0.beta1 app/views/spree/admin/store_credits/edit_validity.html.erb