Sha256: 0d6851ac8ef5413ed2f2d48e71812fefa85bee08e2dcde3b7c007cdbf58d6707

Contents?: true

Size: 1.61 KB

Versions: 1

Compression:

Stored size: 1.61 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 %>

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
spree_backend-2.0.0.rc1 app/views/spree/admin/taxons/_form.html.erb