Sha256: e1a94d4c5ecf9f44f0ab3829e490ea27309437cf2c35bbeb7e1d06f4a0761f8e

Contents?: true

Size: 1.84 KB

Versions: 18

Compression:

Stored size: 1.84 KB

Contents

<div data-hook="admin_inside_taxon_form">
  <div class="row">
    <div class="col-md-5">
      <%= f.field_container :name, class: ['form-group'] do %>
        <%= f.label :name, Spree.t(:name) %> <span class="required">*</span>
        <%= text_field :taxon, :name, :class => 'form-control' %>
        <%= f.error_message_on :name, :class => 'error-message' %>
      <% end %>

      <%= f.field_container :permalink_part, class: ['form-group'] do %>
        <%= f.label :permalink_part, Spree.t(:permalink) %> <span class="required">*</span>
        <%= text_field_tag :permalink_part, @permalink_part, :class => 'form-control' %>
        <p class="help-block" id="permalink_part_display">
          <%= @taxon.permalink.split('/')[0...-1].join('/') + '/' %>
        </p>
      <% end %>

      <%= f.field_container :icon, class: ['form-group'] do %>
        <%= f.label :icon, Spree.t(:icon) %>
        <%= f.file_field :icon %>
      <% end %>
    </div>

    <div class="col-md-7">
      <%= f.field_container :description, class: ['form-group'] do %>
        <%= f.label :description, Spree.t(:description) %>
        <%= f.text_area :description, :class => 'form-control', :rows => 6 %>
      <% end %>
    </div>
  </div>

  <%= f.field_container :meta_title, class: ['form-group'] do %>
    <%= f.label :meta_title, Spree.t(:meta_title) %>
    <%= f.text_field :meta_title, :class => 'form-control', :rows => 6 %>
  <% end %>

  <%= f.field_container :meta_description, class: ['form-group'] do %>
    <%= f.label :meta_description, Spree.t(:meta_description) %>
    <%= f.text_field :meta_description, :class => 'form-control', :rows => 6 %>
  <% end %>

  <%= f.field_container :meta_keywords, class: ['form-group'] do %>
    <%= f.label :meta_keywords, Spree.t(:meta_keywords) %>
    <%= f.text_field :meta_keywords, :class => 'form-control', :rows => 6 %>
  <% end %>
</div>

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
spree_backend-3.1.14 app/views/spree/admin/taxons/_form.html.erb
spree_backend-3.1.13 app/views/spree/admin/taxons/_form.html.erb
spree_backend-3.1.12 app/views/spree/admin/taxons/_form.html.erb
spree_backend-3.1.11 app/views/spree/admin/taxons/_form.html.erb
spree_backend-3.1.10 app/views/spree/admin/taxons/_form.html.erb
spree_backend-3.1.9 app/views/spree/admin/taxons/_form.html.erb
spree_backend-3.1.8 app/views/spree/admin/taxons/_form.html.erb
spree_backend-3.1.7 app/views/spree/admin/taxons/_form.html.erb
spree_backend-3.1.6 app/views/spree/admin/taxons/_form.html.erb
spree_backend-3.1.5 app/views/spree/admin/taxons/_form.html.erb
spree_backend-3.1.4 app/views/spree/admin/taxons/_form.html.erb
spree_backend-3.1.3 app/views/spree/admin/taxons/_form.html.erb
spree_backend-3.1.2 app/views/spree/admin/taxons/_form.html.erb
spree_backend-3.1.1 app/views/spree/admin/taxons/_form.html.erb
spree_backend-3.1.0 app/views/spree/admin/taxons/_form.html.erb
spree_backend-3.1.0.rc4 app/views/spree/admin/taxons/_form.html.erb
spree_backend-3.1.0.rc3 app/views/spree/admin/taxons/_form.html.erb
spree_backend-3.1.0.rc2 app/views/spree/admin/taxons/_form.html.erb