Sha256: c6ea6f1dc7dee6cba7768f1bcdb24d30534bbe22f9db8eb4c029b2a53311a58e

Contents?: true

Size: 807 Bytes

Versions: 5

Compression:

Stored size: 807 Bytes

Contents

<div data-hook="admin_taxon_form_fields">
  <%= 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

5 entries across 5 versions & 1 rubygems

Version Path
spree_core-1.1.6 app/views/spree/admin/taxons/_form.html.erb
spree_core-1.1.5 app/views/spree/admin/taxons/_form.html.erb
spree_core-1.1.4 app/views/spree/admin/taxons/_form.html.erb
spree_core-1.1.3 app/views/spree/admin/taxons/_form.html.erb
spree_core-1.1.2 app/views/spree/admin/taxons/_form.html.erb