<% 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/modal-preview" %> <%= javascript_include_tag "lib/file-type" %> <%= javascript_include_tag "validator" %> <% end %>
<%= render partial: 'module_tag', locals: {f: f} %>
<% @site_in_use_locales.each_with_index do |locale, i| %>
"> <%= render partial: 'form_text_locale', locals: {f: f, node: :title, locale: locale, style: nil} %>
<% end %>
<%= f.datetime_picker :pub_date, no_label: true, new_record: @journal.new_record?, data: {} %>
<% @site_in_use_locales.each_with_index do |locale, i| %>
"> <%= render partial: 'form_text_locale', locals: {f: f, node: :author, locale: locale, style: nil} %> <%= render partial: 'form_text_area', locals: {f: f, node: :pub_information, locale: locale} %>
<% end %>
<%= f.submit t('submit'), class: 'btn btn-primary' %>
<% content_for :page_specific_css do %> <% end %> <% content_for :page_specific_javascript do %> <% end %>