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

14 lines
555 B
Plaintext
Raw Permalink Normal View History

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