diff --git a/app/views/thesis/edit.html.erb b/app/views/thesis/edit.html.erb index e69ee040..add077cf 100644 --- a/app/views/thesis/edit.html.erb +++ b/app/views/thesis/edit.html.erb @@ -142,12 +142,13 @@ <%= f.association :license, as: :select, include_hidden: false, - label: 'License (if you retain copyright)', + label: 'License (if you retain copyright) *', label_method: :display_description, label_html: { class: 'col1q' }, wrapper_html: { class: 'field-row select layout-1q3q layout-band' }, input_html: { class: 'field field-select col3q', multiple: false, - aria: { describedby: 'thesis_license-hint' } }, + aria: { describedby: 'thesis_license-hint' }, + data: { msg: Thesis::VALIDATION_MSGS[:license] } }, hint: 'Not sure what to select? Learn more about Creative Commons licenses.'.html_safe, hint_html: { class: 'col3q', id: 'thesis_license-hint' } %> diff --git a/app/views/thesis/new.html.erb b/app/views/thesis/new.html.erb index 4bf13eaa..32f23d3b 100644 --- a/app/views/thesis/new.html.erb +++ b/app/views/thesis/new.html.erb @@ -124,7 +124,7 @@ <%= f.association :copyright, as: :select, - selected: 1, + selected: 2, required: true, collection: Copyright.display_to_author, validate: { presence: true },