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", | ||||
|                 size: "20x2", | ||||
|                 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 %> | ||||
|           </li> | ||||
|           <li class="s_grid_row"> | ||||
|  | @ -43,7 +43,7 @@ | |||
|                 placeholder: t("personal_journal.journal_title"), | ||||
|                 class: "s_grid_6 s_grid", | ||||
|                 "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 %> | ||||
|             <span class="icon-plus input_append"></span> | ||||
|           </li> | ||||
|  | @ -94,7 +94,7 @@ | |||
|                 size: "20x2", | ||||
|                 placeholder: t("personal_journal.authors"), | ||||
|                 "autocomplete-list" => "coauthor_autocomplete_list", | ||||
|                 value:  (@writing_journal.authors_translations[locale] rescue nil) %> | ||||
|                 value:  (@writing_journal.authors_translations[locale.to_s] rescue nil) %> | ||||
|             <% end %> | ||||
|             <span class="icon-plus input_append"></span> | ||||
|           </li> | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue