Skip to content

Commit

Permalink
Move "image notes" back up
Browse files Browse the repository at this point in the history
  • Loading branch information
nimmolo committed Jun 19, 2024
1 parent 7ad69b9 commit c70f5e3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/views/controllers/observations/form/images/_fields.erb
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ end
<%# No field index makes it simpler to be sure we have a _temp_image field %>
<%= fields_for(image_field) do |ffi| %>
<%= text_area_with_label(form: ffi, field: :notes, index: img_id, rows: 2,
value: image&.notes, label: :form_images_notes.l) %>
<%= text_field_with_label(form: ffi, field: :copyright_holder, index: img_id,
value: image&.copyright_holder,
label: :form_images_copyright_holder.l) %>
Expand All @@ -31,9 +34,6 @@ end
options: licenses,
select_opts: { selected: selected_license }) %>
<%= text_area_with_label(form: ffi, field: :notes, index: img_id, rows: 2,
value: image&.notes, label: :form_images_notes.l) %>
<%= unless upload
text_field_with_label(form: ffi, field: :original_name, index: img_id,
value: image&.original_name, size: 40,
Expand Down

0 comments on commit c70f5e3

Please sign in to comment.