Sha256: 28eef091568b10b2b4635c2201b829b78594c20a1e53fa7ec21e78a8d05375eb

Contents?: true

Size: 1007 Bytes

Versions: 6

Compression:

Stored size: 1007 Bytes

Contents

<div data-hook="admin_inside_taxon_form" class="row">
  <div class="alpha five columns">
    <%= 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, :class => 'fullwidth' %>
    <% 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 %>
  </div>

  <div class="omega seven columns">
    <%= f.field_container :description do %>
      <%= f.label :description, t(:description) %><br />
      <%= f.text_area :description, :class => 'fullwidth', :rows => 6 %>
    <% end %>
  </div>
</div>

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
spree_core-1.3.2 app/views/spree/admin/taxons/_form.html.erb
spree_core-1.3.1 app/views/spree/admin/taxons/_form.html.erb
spree_core-1.3.0 app/views/spree/admin/taxons/_form.html.erb
spree_core-1.3.0.rc2 app/views/spree/admin/taxons/_form.html.erb
dup_spree_core-1.3.0.rc1 app/views/spree/admin/taxons/_form.html.erb
spree_core-1.3.0.rc1 app/views/spree/admin/taxons/_form.html.erb