<% content_for :page_specific_css do %> <%= stylesheet_link_tag "lib/main-forms" %> <%= stylesheet_link_tag "lib/fileupload" %> <%= stylesheet_link_tag "lib/main-list" %> <% end %> <% content_for :page_specific_javascript do %> <%= javascript_include_tag "lib/bootstrap-fileupload" %> <%= javascript_include_tag "lib/bootstrap-datetimepicker" %> <%= javascript_include_tag "lib/datetimepicker/datetimepicker.js" %> <%= javascript_include_tag "lib/module-area" %> <%= javascript_include_tag "validator" %> <% end %>
<%= t('chapters.select_file') %> <%= t(:change) %> <%= f.file_field :file %> <%= t(:cancel) %>
<% @site_in_use_locales.each_with_index do |locale, i| %>
"> <%= render partial: 'form_text_locale', locals: {f: f, node: :title, locale: locale, style: 'long'}%>
<% end %> <%= render partial: 'form_text_org', locals: {f: f, node: :page} %> <% @site_in_use_locales.each_with_index do |locale, i| %>
"> <%= render partial: 'form_text_locale', locals: {f: f, node: :author, locale: locale, style: 'long'}%> <%= render partial: 'form_text_area', locals: {f: f, node: :author_description, locale: locale} %> <%= render partial: 'form_text_area', locals: {f: f, node: :text, locale: locale} %>
<% end %>
<%= f.submit t('submit'), class: 'btn btn-primary' %>
<% content_for :page_specific_css do %> <% end %>