Skip to content

Commit

Permalink
Show field code on observation form when present
Browse files Browse the repository at this point in the history
  • Loading branch information
mo-nathan committed Apr 3, 2024
1 parent dfa9ac6 commit ab29743
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/views/controllers/observations/_form.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ image_upload_localization = {
}
) do |f| %>
<%= "#{:form_observations_field_code.t} #{@field_code}" if @field_code %>
<%= hidden_field_tag(:field_code, @field_code) %>
<%= submit_button(form: f, button: button_name, center: true) %>
Expand Down
1 change: 1 addition & 0 deletions config/locales/en.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1623,6 +1623,7 @@
form_naming_confidence_help: How confident are you of this identification? Please justify how you arrived at your decision in the boxes below, as well.

# observations/_form_observations
form_observations_field_code: for field slip
form_observations_specimen_available: Specimen Available
form_observations_is_collection_location: Is this location where it was collected?
form_observations_click_on_map: Click on map for geolocation
Expand Down

0 comments on commit ab29743

Please sign in to comment.