Sha256: 118e2faa38588bdda4e1d7b94eee5ec5224de112acf13dbd60cc54738f9a96eb

Contents?: true

Size: 807 Bytes

Versions: 7

Compression:

Stored size: 807 Bytes

Contents

<div data-hook="admin_inside_taxon_form">
  <%= f.field_container :name do %>
    <%= f.label :name, t(:name) %> <span class="required">*</span><br />
    <%= error_message_on :taxon, :name, :class => 'fullwidth title' %>
    <%= text_field :taxon, :name %>
  <% end %>

  <%= f.field_container :permalink_part do %>
    <%= f.label :permalink_part, t(:permalink) %><span class="required">*</span><br />
    <%= @taxon.permalink.split("/")[0...-1].join("/") + "/" %><%= text_field_tag :permalink_part, @permalink_part %>
  <% end %>

  <%= f.field_container :icon do %>
    <%= f.label :icon, t(:icon) %><br />
    <%= f.file_field :icon %>
  <% end %>

  <%= f.field_container :description do %>
    <%= f.label :description, t(:description) %><br />
    <%= f.text_area :description %>
  <% end %>
</div>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
spree_core-1.2.5 app/views/spree/admin/taxons/_form.html.erb
spree_core-1.2.4 app/views/spree/admin/taxons/_form.html.erb
spree_core-1.2.3 app/views/spree/admin/taxons/_form.html.erb
spree_core-1.2.2 app/views/spree/admin/taxons/_form.html.erb
spree_core-1.2.0 app/views/spree/admin/taxons/_form.html.erb
spree_core-1.2.0.rc2 app/views/spree/admin/taxons/_form.html.erb
spree_core-1.2.0.rc1 app/views/spree/admin/taxons/_form.html.erb