fixed paper title and journal title bug
This commit is contained in:
parent
4bc3a57862
commit
e99fef9404
|
@ -33,7 +33,7 @@
|
||||||
class: "s_grid_6 s_grid",
|
class: "s_grid_6 s_grid",
|
||||||
size: "20x2",
|
size: "20x2",
|
||||||
placeholder: t("personal_journal.paper_title"),
|
placeholder: t("personal_journal.paper_title"),
|
||||||
value: (@writing_journal.paper_title_translations[locale] rescue nil) %>
|
value: (@writing_journal.paper_title_translations[locale.to_s] rescue nil) %>
|
||||||
<% end %>
|
<% end %>
|
||||||
</li>
|
</li>
|
||||||
<li class="s_grid_row">
|
<li class="s_grid_row">
|
||||||
|
@ -43,7 +43,7 @@
|
||||||
placeholder: t("personal_journal.journal_title"),
|
placeholder: t("personal_journal.journal_title"),
|
||||||
class: "s_grid_6 s_grid",
|
class: "s_grid_6 s_grid",
|
||||||
"autocomplete-list" => "journal_title_autocomplete_list",
|
"autocomplete-list" => "journal_title_autocomplete_list",
|
||||||
value: (@writing_journal.journal_title_translations[locale] rescue nil) %>
|
value: (@writing_journal.journal_title_translations[locale.to_s] rescue nil) %>
|
||||||
<% end %>
|
<% end %>
|
||||||
<span class="icon-plus input_append"></span>
|
<span class="icon-plus input_append"></span>
|
||||||
</li>
|
</li>
|
||||||
|
@ -94,7 +94,7 @@
|
||||||
size: "20x2",
|
size: "20x2",
|
||||||
placeholder: t("personal_journal.authors"),
|
placeholder: t("personal_journal.authors"),
|
||||||
"autocomplete-list" => "coauthor_autocomplete_list",
|
"autocomplete-list" => "coauthor_autocomplete_list",
|
||||||
value: (@writing_journal.authors_translations[locale] rescue nil) %>
|
value: (@writing_journal.authors_translations[locale.to_s] rescue nil) %>
|
||||||
<% end %>
|
<% end %>
|
||||||
<span class="icon-plus input_append"></span>
|
<span class="icon-plus input_append"></span>
|
||||||
</li>
|
</li>
|
||||||
|
|
Loading…
Reference in New Issue