Sha256: 41053508160159f819323ac814b8278b5803a0b95516180e27726a34cc53e1a7

Contents?: true

Size: 1.57 KB

Versions: 3

Compression:

Stored size: 1.57 KB

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 %>

    <%= f.field_container :meta_title do %>
      <%= f.label :meta_title, t(:meta_title) %><br />
      <%= f.text_field :meta_title, :class => 'fullwidth', :rows => 6 %>
    <% end %>

    <%= f.field_container :meta_description do %>
      <%= f.label :meta_description, t(:meta_description) %><br />
      <%= f.text_field :meta_description, :class => 'fullwidth', :rows => 6 %>
    <% end %>

    <%= f.field_container :meta_description do %>
      <%= f.label :meta_keywords, t(:meta_keywords) %><br />
      <%= f.text_field :meta_keywords, :class => 'fullwidth', :rows => 6 %>
    <% 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

3 entries across 3 versions & 1 rubygems

Version Path
spree_core-1.3.5 app/views/spree/admin/taxons/_form.html.erb
spree_core-1.3.4 app/views/spree/admin/taxons/_form.html.erb
spree_core-1.3.3 app/views/spree/admin/taxons/_form.html.erb