Sha256: 40d9faaf0bd536e646f3bf37f7396bba2d09a1120b9239f7b88234834dbd5673

Contents?: true

Size: 826 Bytes

Versions: 25

Compression:

Stored size: 826 Bytes

Contents

<%= hook :admin_inside_taxon_form, {:f => f} 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

25 entries across 25 versions & 7 rubygems

Version Path
apispree_core-0.0.0 app/views/admin/taxons/_form.html.erb
My-Commerce_core-1.1.0 app/views/admin/taxons/_form.html.erb
My-Commerce_core-1.0.0 app/views/admin/taxons/_form.html.erb
MyCommerceapi-1.0.0 core/app/views/admin/taxons/_form.html.erb
MyCommerce-0.0.3 core/app/views/admin/taxons/_form.html.erb
rfcommerce_core-0.0.3 app/views/admin/taxons/_form.html.erb
spree_core-0.60.6 app/views/admin/taxons/_form.html.erb
spree_core-0.60.5 app/views/admin/taxons/_form.html.erb
spree_suppliers-1.0.4 app/views/admin/supplier_taxons/_form.html.erb
spree_suppliers-1.0.3 app/views/admin/supplier_taxons/_form.html.erb
spree_suppliers-1.0.2 app/views/admin/supplier_taxons/_form.html.erb
spree_suppliers-1.0.1 app/views/admin/supplier_taxons/_form.html.erb
spree_suppliers-0.0.1 app/views/admin/supplier_taxons/_form.html.erb
spree_suppliers-0.60.3 app/views/admin/supplier_taxons/_form.html.erb
spree_core-0.50.4 app/views/admin/taxons/_form.html.erb
spree_core-0.60.4 app/views/admin/taxons/_form.html.erb
spree_core-0.50.3 app/views/admin/taxons/_form.html.erb
spree_core-0.60.3 app/views/admin/taxons/_form.html.erb
spree_core-0.60.2 app/views/admin/taxons/_form.html.erb
spree_core-0.60.1 app/views/admin/taxons/_form.html.erb