Skip to content

Commit

Permalink
Improve confirmation text when saving new audit
Browse files Browse the repository at this point in the history
  • Loading branch information
tatheerf02 committed Oct 14, 2024
1 parent 140bbfe commit f0f888f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/views/audits/_form.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@
</fieldset>

<div class="card-footer">
<%= submit_button({ text: 'Confirm Audit', name: 'confirm_audit', icon: 'check-circle', align: 'left', size: 'md'}, {confirm: 'Are you sure?'}) %>
<%= submit_button({ text: 'Confirm Audit', name: 'confirm_audit', icon: 'check-circle', align: 'left', size: 'md'}, {
confirm: "Are you sure?\n\nPlease note that this audit must also be finalized by someone with organization admin rights before changes to inventory will take place.\n\nWe strongly recommend completing that step before doing any further actions that affect inventory.",
}) %>
<%= submit_button({text: 'Save Progress', name: 'save_progress', size: 'md'}) %>
</div>
<% end %>
Expand Down

0 comments on commit f0f888f

Please sign in to comment.