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

14 lines
636 B
Plaintext
Raw Normal View History

<%= form_for @industry, :url => updateindustry_admin_recruitment_path(@industry), 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, :value => @industry.industry_title_translations[locale.to_s] %>
</div>
</div>
<% end %>
<% end %>
</form>
<% end %>