Sha256: a97498090c43259a7ed3a22e1d0e3d68c15f8be0381fc9e42e620e3119161647

Contents?: true

Size: 1.09 KB

Versions: 19

Compression:

Stored size: 1.09 KB

Contents

<%= render :partial => 'admin/shared/product_sub_menu' %>
<h1><%= t("editing_option_type") %></h1>
<%= render 'shared/error_messages', :target => @option_type %>
<%= form_for(@option_type, :url => object_url, :html => { :method => :put }) do |f| %>
<fieldset>
  <legend><%= t("editing_option_type") %></legend>
  <%= render :partial => "form", :locals => { :f => f } %>
  <h3><%= t("option_values") %></h3>
  <table class="index">
    <thead>
      <tr>
        <th><%= t("name") %></th>
        <th><%= t("display") %></th>
        <th></th>
      </tr>
    </thead>
    <tbody id="option_values">
      <tr id="none">
        <td colspan="3"><%= @option_type.option_values.empty? ? t("none") : "" %></td>
      </tr>
      <%= f.fields_for :option_values do |option_value_form| %>
        <%= render "option_value_fields", :f => option_value_form %>
      <% end %>
    </tbody>
  </table>
  <span id='new_add_option_value'>
    <%= link_to_add_fields t("add_option_value"), "tbody#option_values", f, :option_values %>
  </span>

  <%= render :partial => 'admin/shared/edit_resource_links' %>
</fieldset>
<% end %>

Version data entries

19 entries across 19 versions & 6 rubygems

Version Path
apispree_core-0.0.0 app/views/admin/option_types/edit.html.erb
My-Commerce_core-1.1.0 app/views/admin/option_types/edit.html.erb
My-Commerce_core-1.0.0 app/views/admin/option_types/edit.html.erb
MyCommerceapi-1.0.0 core/app/views/admin/option_types/edit.html.erb
MyCommerce-0.0.3 core/app/views/admin/option_types/edit.html.erb
rfcommerce_core-0.0.3 app/views/admin/option_types/edit.html.erb
spree_core-0.60.6 app/views/admin/option_types/edit.html.erb
spree_core-0.60.5 app/views/admin/option_types/edit.html.erb
spree_core-0.50.4 app/views/admin/option_types/edit.html.erb
spree_core-0.60.4 app/views/admin/option_types/edit.html.erb
spree_core-0.50.3 app/views/admin/option_types/edit.html.erb
spree_core-0.60.3 app/views/admin/option_types/edit.html.erb
spree_core-0.60.2 app/views/admin/option_types/edit.html.erb
spree_core-0.60.1 app/views/admin/option_types/edit.html.erb
spree_core-0.60.0 app/views/admin/option_types/edit.html.erb
spree_core-0.60.0.RC1 app/views/admin/option_types/edit.html.erb
spree_core-0.50.2 app/views/admin/option_types/edit.html.erb
spree_core-0.50.1 app/views/admin/option_types/edit.html.erb
spree_core-0.50.0 app/views/admin/option_types/edit.html.erb