Update merge.html.erb
This commit is contained in:
parent
de7c9c9104
commit
97ad18a147
|
@ -35,10 +35,10 @@
|
|||
<%= key[1].values.map{|v| v=="" ? t('personal_journal.no_input') : v}.join('/') %>
|
||||
</td>
|
||||
<% if params['mode']=='simple' %>
|
||||
<td rowspan="<%= len %>">
|
||||
<input type="checkbox" class="checkbox" name="journal_id" value="<%= journals.collect(&:id).join('/') %>">
|
||||
</td>
|
||||
<% journals.each_with_index do |journal,i| %>
|
||||
<td>
|
||||
<input type="checkbox" class="checkbox" name="journal_id" value="<%= journal.id %>">
|
||||
</td>
|
||||
<td>
|
||||
<a href="<%= edit_admin_journal_paper_path(journal) %>" target="_blank">
|
||||
<%= get_member(journal).collect(&:name).join(' / ') rescue t('personal_journal.no_input') %>
|
||||
|
@ -58,10 +58,10 @@
|
|||
<%= keychild.to_s.blank? ? t('personal_journal.no_input') : keychild %>
|
||||
</td>
|
||||
<% end %>
|
||||
<td rowspan="<%= len1 %>">
|
||||
<input type="checkbox" class="checkbox" name="journal_id" value="<%= v.collect(&:id).join('/') %>">
|
||||
</td>
|
||||
<% v.each_with_index do |journal_child,index1| %>
|
||||
<td>
|
||||
<input type="checkbox" class="checkbox" name="journal_id" value="<%= journal_child.id %>">
|
||||
</td>
|
||||
<td>
|
||||
<a href="<%= edit_admin_journal_paper_path(journal_child) %>" target="_blank">
|
||||
<%= get_member(journal_child).collect(&:name).join(' / ') rescue t('personal_journal.no_input') %>
|
||||
|
|
Loading…
Reference in New Issue