Skip to content

Commit

Permalink
Update _form.html.erb
Browse files Browse the repository at this point in the history
  • Loading branch information
ewlarson committed Jan 15, 2025
1 parent 6abb8a3 commit e2bf038
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/views/admin/document_data_dictionaries/_form.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

<%= simple_form_for([:admin, @document, @document_data_dictionary]) do |f| %>
<%= f.error_notification %>
<%= f.error_notification message: f.object.errors[:base].to_sentence if f.object.errors[:base].present? %>
Expand All @@ -8,7 +7,7 @@
<%= f.input :name, input_html: { class: 'form-control', autofocus: true } %>
<%= f.input :description, input_html: { class: 'form-control' } %>
<%= f.input :staff_notes, input_html: { class: 'form-control' } %>
<%= f.input :tags, input_html: { class: "form-control mb-2", placeholder: "Optional", data: { controller: "taginput" } } %>
<%= f.input :tags, input_html: { class: "form-control mb-2", placeholder: "Comma-separated tags (Optional)", data: { controller: "taginput" } } %>
<%= f.file_field :csv_file, direct_upload: true %>
</div>

Expand Down

0 comments on commit e2bf038

Please sign in to comment.