Sha256: 4e7f25b834552641c2e34519341138432404550e19582337aaa4e3781d9aea11

Contents?: true

Size: 807 Bytes

Versions: 5

Compression:

Stored size: 807 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 :icon do %>
    <%= f.label :description, t(:description) %><br />
    <%= f.text_area :description %></p>
  <% end %>

<% end %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
spree-0.11.4 vendor/extensions/theme_default/app/views/admin/taxons/_form.html.erb
spree-0.11.3 vendor/extensions/theme_default/app/views/admin/taxons/_form.html.erb
spree-0.11.2 vendor/extensions/theme_default/app/views/admin/taxons/_form.html.erb
spree-0.11.1 vendor/extensions/theme_default/app/views/admin/taxons/_form.html.erb
spree-0.11.0 vendor/extensions/theme_default/app/views/admin/taxons/_form.html.erb