-
-
Notifications
You must be signed in to change notification settings - Fork 573
Expand file tree
/
Copy path_error.html.erb
More file actions
22 lines (22 loc) · 1.31 KB
/
_error.html.erb
File metadata and controls
22 lines (22 loc) · 1.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<div class='bg-red-200 p-3 mb-10 animate-pulse-once flex flex-col sm:flex-row items-center rounded text-center'>
<div class='p-4 text-red-500'>
<svg xmlns="http://www.w3.org/2000/svg" width="150" height="150" fill="currentColor" class="bi bi-exclamation-triangle-fill" viewBox="0 0 16 16">
<path d="M8.982 1.566a1.13 1.13 0 0 0-1.96 0L.165 13.233c-.457.778.091 1.767.98 1.767h13.713c.889 0 1.438-.99.98-1.767L8.982 1.566zM8 5c.535 0 .954.462.9.995l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 5.995A.905.905 0 0 1 8 5zm.002 6a1 1 0 1 1 0 2 1 1 0 0 1 0-2z" />
</svg>
</div>
<div class='text-red-600 md:text-left'>
<h3 class='text-4xl font-extrabold'>Oops! Something went wrong with your Request</h3>
<p class='text-lg font-bold'>
Ensure each line item has a item selected AND a quantity greater than 0.
<% if (current_partner&.organization || current_organization).request_units.any? %>
Please ensure a single unit is selected for each item that supports it.
<% end %>
</p>
<% if current_partner %>
<p class='text-md'>
Still need help? Please contact your essentials bank, <%= current_partner.organization.name %>, if you need further assistance.<br>
Our email on record for them is: <%= mail_to current_partner.organization.email %>
<% end %>
</p>
</div>
</div>