Skip to content

Commit 9fb244a

Browse files
committed
chore: Add text informing user that cancellation will not send an email if partner is not active
- fix typo on "cancelation" - add more space between button and text - replace span with div to keep block structure
1 parent 05ae211 commit 9fb244a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

app/views/requests/cancelation/new.html.erb

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,12 @@
3030
<div class="box w-1/2">
3131
<%= simple_form_for :cancelation, url: request_cancelation_path(organization: @organization, request_id: @request.id), method: :post do |f| %>
3232
<div class='flex flex-col'>
33-
<%= f.input :reason, label: "Cancelation reason" %>
34-
<span class='font-light text-md text-yellow-600'>This will be included in the email notification we send to the partner</span>
33+
<%= f.input :reason, label: "Cancellation reason" %>
34+
<div class='font-light text-md text-yellow-600'>This will be included in the email notification we send to the partner</div>
35+
<div class="font-light text-sm text-red">Note: cancellation emails will not be sent to deactivated partners</div>
3536
</div>
3637

37-
<div class='flex flex-row justify-end'>
38+
<div class='flex flex-row justify-end pt-2'>
3839
<%= f.submit 'Yes. Cancel Request', class: 'btn btn-primary' %>
3940
</div>
4041
<% end %>

0 commit comments

Comments
 (0)