recruitment/app/views/admin/recruitments/addcategory.html.erb

14 lines
551 B
Plaintext
Raw Normal View History

<%= form_for @category, :url => {:action => "createcategory"}, html: {:class => "form-horizontal", :id => "category_form"} do |f| %>
<form class="form-horizontal">
<% @site_in_use_locales.each do |locale| %>
<%= f.fields_for :job_category_translations do |fe| %>
<div class="control-group">
<%= fe.label locale, t("recruitment.job_category") + " (" + t("#{locale}") + ")", :class => "control-label" %>
<div class="controls">
<%= fe.text_field locale %>
</div>
</div>
<% end %>
<% end %>
</form>
<% end %>