unepwcmc/SAPI

View on GitHub
app/views/admin/ranks/_form.html.erb

Summary

Maintainability
Test Coverage
<%= form_for :rank, :url => collection_url, :remote => true do |f| %>

  <%= error_messages_for(@rank) %>

  <label>Sort order</label> <%= f.text_field :taxonomic_position %><br />
  <label>Code</label><%= f.text_field :name %><br />
  <p>Name</p>
  <label>EN</label> <%= f.text_field :display_name_en %><br />
  <label>ES</label> <%= f.text_field :display_name_es %><br />
  <label>FR</label> <%= f.text_field :display_name_fr %><br />

<% end %>