Sha256: ffdd9c5fe3d3bb47e22cf758b54834c9a862bdad6c53918a58cd83e275ec0791
Contents?: true
Size: 1.37 KB
Versions: 16
Compression:
Stored size: 1.37 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: update_amount_admin_user_store_credit_path, method: :put do |f| %> <fieldset> <legend align="center"><%= Spree.t("admin.store_credits.edit_amount") %></legend> <div data-hook="admin_store_credit_form_fields" class="row"> <div class="col-9"> <%= f.field_container :amount do %> <%= f.label :amount, class: 'required' %><br /> <%= f.number_field :amount, min: 0.00, step: :any %> <%= f.error_message_on :amount %> <% end %> </div> <%= render partial: 'update_reason_field', locals: { f: f } %> </div> <%= render partial: 'spree/admin/shared/edit_resource_links', locals: { collection_url: admin_user_store_credits_path(@user, @store_credit) } %> </fieldset> <% end %>
Version data entries
16 entries across 16 versions & 1 rubygems