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