Sha256: 189f7e2bc49f1f0f849c09dd05025e83289509a23386cec88d861b2e0c86a465

Contents?: true

Size: 1.66 KB

Versions: 5

Compression:

Stored size: 1.66 KB

Contents

<div data-hook="admin_inside_taxon_form" class="row">
  <div class="alpha five columns">
    <%= f.field_container :name do %>
      <%= f.label :name, Spree.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, Spree.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, Spree.t(:icon) %><br />
      <%= f.file_field :icon %>
    <% end %>
  </div>

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

  <div class="twelve columns alpha omega">
    <%= f.field_container :meta_title do %>
      <%= f.label :meta_title, Spree.t(:meta_title) %><br />
      <%= f.text_field :meta_title, :class => 'fullwidth', :rows => 6 %>
    <% end %>

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

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

</div>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
spree_backend-2.0.4 app/views/spree/admin/taxons/_form.html.erb
spree_backend-2.0.3 app/views/spree/admin/taxons/_form.html.erb
spree_backend-2.0.2 app/views/spree/admin/taxons/_form.html.erb
spree_backend-2.0.1 app/views/spree/admin/taxons/_form.html.erb
spree_backend-2.0.0 app/views/spree/admin/taxons/_form.html.erb