Sha256: 19de6a73e2373e748f3937561529c6b46f3d1d31fa830d53eec207cebd1281ce

Contents?: true

Size: 1001 Bytes

Versions: 5

Compression:

Stored size: 1001 Bytes

Contents

<% content_for :page_title do %>
  <%= Spree.t(:editing_resource, resource: Spree::OptionValue.model_name.human) %> <span class="green">"<%= @option_value.name %>"</span>
<% end %>

<% content_for :page_actions do %>
  <%= button_link_to Spree.t(:back_to_resource_list, resource: Spree::OptionValue.model_name.human), spree.edit_admin_option_type_path(@option_value.option_type), class: 'btn-primary', icon: 'arrow-left' %>
<% end %>

<%= render 'settings' %>

<div class="row translations">
  <div class="col-md-4">
    <%= render 'fields' %>
  </div>
  <div class="col-md-8">
    <%= form_for [:admin, :option_type, @resource] do |f| %>
      <%= render 'form_fields', f: f %>
      <div class="form-actions" data-hook="buttons">
        <%= button Spree.t(:update), 'update' %>
        <span class="or"><%= Spree.t(:or) %></span>
        <%= button_link_to Spree.t(:cancel), spree.edit_admin_option_type_path(@option_value.option_type), icon: 'remove' %>
      </div>
    <% end %>
  </div>
</div>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
spree_mobility-1.4.0 app/views/spree/admin/translations/option_value.html.erb
spree_mobility-1.3.0 app/views/spree/admin/translations/option_value.html.erb
spree_mobility-1.2.0 app/views/spree/admin/translations/option_value.html.erb
spree_mobility-1.1.0 app/views/spree/admin/translations/option_value.html.erb
spree_mobility-1.0.0 app/views/spree/admin/translations/option_value.html.erb