Skip to content

Commit

Permalink
Restore notes fiels to digitization and booking request forms
Browse files Browse the repository at this point in the history
  • Loading branch information
nomadicoder committed May 24, 2024
1 parent 318f8ab commit dc84b4c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions app/views/almaws/_booking_request_form.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,12 @@
<%= render "format_date_message" %>
</div>

<div class="hold-form form-group">
<%= form.label(:booking_comment, t("requests.form.notes_label_html")) %>
<p><%= t("requests.form.notes_additional_text") %></p>
<%= form.text_area :booking_comment, class: "request-form form-control" %>
</div>

<div class="row hold-form">
<%= form.submit t("requests.form.submit"), class:"btn btn-primary", data: { disable_with: "Sending request..." } %>
</div>
Expand Down
6 changes: 6 additions & 0 deletions app/views/almaws/_digitization_request_form.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,12 @@
</div>
</div>

<div class="form-group hold-form">
<%= form.label(:digitization_comment, t("requests.form.notes_label_html")) %>
<p><%= t("requests.form.notes_additional_text") %></p>
<%= form.text_area :digitization_comment, class: "request-form form-control" %>
</div>

<div class="form-group row">
<%= form.submit t("requests.form.submit"), class:"btn btn-primary", data: { disable_with: "Sending request..." } %>
</div>
Expand Down

0 comments on commit dc84b4c

Please sign in to comment.