Authors are now displayed as actual authors, not the person that added the protocol, and the created at date from protocols io is in protocol info, like it was before

This commit is contained in:
Zanz2 2018-02-07 15:12:03 +01:00
parent e400514020
commit 60aa1a0953

View file

@ -38,7 +38,7 @@
<span class="glyphicon glyphicon-user">
</span>&nbsp;<%= t('protocols.import_export.import_modal.authors_label') %>
</label>
<%= f.text_field :authors, :value => pio_eval_title_len(sanitize_input(@json_object['full_name'])), class:
<%= f.text_field :authors, :value => pio_eval_title_len(sanitize_input(not_null(@json_object['authors']))), class:
"form-control" %>
</div>