Update merge.html.erb

This commit is contained in:
chiu 2019-11-01 21:26:51 +08:00
parent 99038553dc
commit 962e9276d6
1 changed files with 5 additions and 5 deletions

View File

@ -18,17 +18,17 @@ function change_mode(){
</script> </script>
<nobr> <nobr>
<form method="get" action='?' name='mode_form'> <form method="get" action='?' name='mode_form'>
<%= '嚴格比較模式'+':' %> <%= t('strict_compare_mode') +':' %>
<input type='hidden' name='mode' value=''> <input type='hidden' name='mode' value=''>
<% if params['mode']!='simple' %> <% if params['mode']!='simple' %>
<input type="checkbox" onchange='change_mode()' checked><span></span> <input type="checkbox" onchange='change_mode()' checked><span><%= t('yes_') %></span>
<% else %> <% else %>
<input type="checkbox" onchange='change_mode()'><span></span> <input type="checkbox" onchange='change_mode()'><span><%= t('no_') %></span>
<% end %> <% end %>
<button type="button" onclick="merge_form.submit()"><%= t('personal_journal.merge') %></button> <button type="button" onclick="merge_form.submit()"><%= t('personal_journal.merge') %></button>
</form> </form>
</nobr> </nobr>
<form method="get" action='?' name='merge_form'> <form method="post" action='/admin/journal_papers/merge_process' name='merge_form'>
<table class="table main-list"> <table class="table main-list">
<thead> <thead>
<tr> <tr>
@ -40,7 +40,7 @@ function change_mode(){
<th><%= t('personal_journal.paper_type') %></th> <th><%= t('personal_journal.paper_type') %></th>
<th><%= t('personal_journal.publication_date') %></th> <th><%= t('personal_journal.publication_date') %></th>
<% end %> <% end %>
<th><%= t("personal_plugins.merge") %></th> <th><%= t("personal_journal.merge") %></th>
<th><%= t("personal_plugins.author") %></th> <th><%= t("personal_plugins.author") %></th>
</tr> </tr>
</thead> </thead>