Skip to content
This repository was archived by the owner on Oct 16, 2020. It is now read-only.

Commit 020003b

Browse files
committed
Switch to marking optional fields instead
1 parent 95805d2 commit 020003b

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

app/assets/stylesheets/submission.css

Lines changed: 0 additions & 3 deletions
This file was deleted.

app/views/submissions/new.html.erb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@
99
control_col: "col-sm-10") do |f| %>
1010
<%= f.alert_message "Please fix the errors below." %>
1111
<%= f.text_field :title %>
12-
<%= f.text_field :journal, help: 'Optional' %>
13-
<%= f.text_field :doi, label: 'DOI' %>
12+
<%= f.text_field :journal, placeholder: 'Optional' %>
13+
<%= f.text_field :doi, label: 'DOI', placeholder: 'Optional' %>
1414
<%= f.date_select :pub_date, discard_day: true, include_blank: true,
1515
label: 'Publication Date',
1616
help: 'If not yet published, please enter an estimated Publication Date.'%>
1717

18-
<%= f.form_group :agreed_to_license do %>
18+
<%= f.form_group :agreed_to_license, label: { text: "Authorized", class: 'required' } do %>
1919
<%= f.check_box :agreed_to_license,
2020
label: "I am authorized to submit this article." %>
2121
<% end %>

0 commit comments

Comments
 (0)