diff --git a/app/views/admin/research/journals/papers/_form.html.erb b/app/views/admin/research/journals/papers/_form.html.erb index 6404c3b69c303e8d62668a3c5c6d49ecc484b609..4769cdfe2c7ae7822065391539f77dd511d525a8 100644 --- a/app/views/admin/research/journals/papers/_form.html.erb +++ b/app/views/admin/research/journals/papers/_form.html.erb @@ -30,9 +30,9 @@ } %> <%= f.association :volume, collection: @journal.volumes, label: Research::Journal::Volume.model_name.human %> <%= f.input :published %> - <%= f.input :published_at, html5: true %> - <%= f.input :accepted_at, html5: true %> - <%= f.input :received_at, html5: true %> + <%= f.input :published_at, html5: true, as: :date %> + <%= f.input :accepted_at, html5: true, as: :date %> + <%= f.input :received_at, html5: true, as: :date %> <%= f.input :keywords, as: :text, input_html: { rows: 2 } %> <%= f.association :people, collection: current_university.people.researchers.ordered, as: :check_boxes %> <%= f.association :kind, collection: @journal.kinds.ordered if @journal.kinds.any? %> diff --git a/config/locales/research/en.yml b/config/locales/research/en.yml index b38348b1a9b70aee63a4ce9d23a155e249e7527c..0194e6b2b96744b691c2e1c257eb21cc73593c82 100644 --- a/config/locales/research/en.yml +++ b/config/locales/research/en.yml @@ -61,6 +61,8 @@ en: pdf: PDF published: Published? published_at: Published at + accepted_at: Accepted at + received_at: Received at references: References kind: Kind of paper people: Authors diff --git a/config/locales/research/fr.yml b/config/locales/research/fr.yml index 2300469731efd1a7152fbbc3d2107f6d49d34800..662de36a6a74b4ceb8bd074c940c01737883171a 100644 --- a/config/locales/research/fr.yml +++ b/config/locales/research/fr.yml @@ -62,6 +62,8 @@ fr: pdf: PDF published: Publié ? published_at: Publié le + accepted_at: Accepté le + received_at: Reçu le references: Références kind: Type de papier people: Auteur·e·s