<% content_for :page_specific_css do %> <%= stylesheet_link_tag "lib/main-forms" %> <%= stylesheet_link_tag "lib/main-list" %> <% end %> <% content_for :page_specific_javascript do %> <%= javascript_include_tag "lib/module-area" %> <% end %>

<%= t('seminar.seminar') %>

<%= form_for @seminar_agreement, url: @url, html: {class: "form-horizontal main-forms"} do |f| %>
<% @site_in_use_locales.each_with_index do |locale, i| %>
">
<%= f.fields_for :content_translations do |f| %> <%= f.cktext_area locale, rows: 5, class: "input-block-level", :value => (@seminar_agreement.content_translations[locale] rescue nil) %> <% end %>
<% end %>
<%= get_referer_url[:action] rescue "" %> <%= f.submit t('submit'), class: 'btn btn-primary' %> <%= link_to t('cancel'), admin_seminars_path, :class=>"btn" %>
<% end %>