<% content_for :page_specific_css do %> <%= stylesheet_link_tag "lib/main-forms" %> <%= stylesheet_link_tag "lib/fileupload" %> <%= stylesheet_link_tag "lib/main-list" %> <%= stylesheet_link_tag "lib/main-form-col2" %> <% end %> <% if params['mode']!='simple' %> <% end %> <% @journals.each do |key,journals| %> <% if params['mode']=='simple' len = journals.length else len = journals.values.reduce(0){|sum,num| sum+num.length} end %> <% journals.each_with_index do |journal,i| %> <% if params['mode']=='simple' %> <% else %> <% j=0 %> <% journal.each do |k,v| %> <% len1 = v.length %> <% v.each_with_index do |journal_child,index1| %> <% len2 = v.length %> <% if len2!=(i+1) %> <% end %> <% end %> <% if len1!=(j+1) %> <% end %> <% j=j+1 %> <% end %> <% end %> <% if len!=(i+1) %> <% end %> <% end %> <% end %>
<%= t('personal_journal.paper_title') %> <%= t('personal_journal.journal_title') %><%= t('personal_journal.level_type') %> <%= t('personal_journal.author_type') %> <%= t('personal_journal.paper_type') %> <%= t('personal_journal.publication_date') %><%= t('module_name.personal_journal') %>
<%= key[0].values.map{|v| v=="" ? t('personal_journal.no_input') : v}.join('/') %> <%= key[1].values.map{|v| v=="" ? t('personal_journal.no_input') : v}.join('/') %> <%= journal %> <%= k[0] %> <%= k[1] %> <%= k[2] %> <%= k[3] %> <%= journal_child %>