Sha256: 7b96b7205bae9c49f4e806dc7fbf9ff58f84343fabff737cfa1cf3cc55361f55

Contents?: true

Size: 815 Bytes

Versions: 8

Compression:

Stored size: 815 Bytes

Contents

<%= hook :admin_inside_taxon_form do %>
  <%= 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 %>

<% end %>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
spree_core-0.30.2 app/views/admin/taxons/_form.html.erb
spree_core-0.40.4 app/views/admin/taxons/_form.html.erb
spree_core-0.40.3 app/views/admin/taxons/_form.html.erb
spree_core-0.40.2 app/views/admin/taxons/_form.html.erb
spree_core-0.40.1 app/views/admin/taxons/_form.html.erb
spree_core-0.40.0 app/views/admin/taxons/_form.html.erb
spree_core-0.30.1 app/views/admin/taxons/_form.html.erb
spree_core-0.30.0 app/views/admin/taxons/_form.html.erb