Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

45 lines (36 sloc) 1.609 kb
<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>
Jump to Line
Something went wrong with that request. Please try again.