Skip to content

Commit

Permalink
Merge pull request #4721 from tatheerf02/4633-audit-confirmation-text
Browse files Browse the repository at this point in the history
[Resolves #4633] Improve confirmation text when saving new audit
  • Loading branch information
cielf authored Oct 16, 2024
2 parents da713da + f0f888f commit 64d20c1
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 64d20c1

Please sign in to comment.