|
21 | 21 | <% end %> |
22 | 22 |
|
23 | 23 | <ul class="grid"> |
24 | | - <%= render partial: "document", collection: @active_documents %> |
25 | | - <%= render partial: "document", collection: @active_common_documents %> |
| 24 | + <div class="grid-row text"> |
| 25 | + <h3>General documents</h3> |
| 26 | + <div class="grid grid-cols-3 gap-4"> |
| 27 | + <%= render partial: "document", collection: @active_common_documents.general %> |
| 28 | + <%= link_to event_fiscal_sponsorship_letter_path(event_id: @event.slug, format: "pdf") do %> |
| 29 | + <li class="card card--hover h-100 w-fit"> |
| 30 | + <div class="overflow-hidden" style="max-height: 250px;"> |
| 31 | + <%= image_tag event_fiscal_sponsorship_letter_url(event_id: @event.slug, format: "png"), width: 330, style: "max-width: 100%;" %> |
| 32 | + </div> |
| 33 | + <strong class="h3 block mt1 line-height-2">Fiscal Sponsorship Confirmation</strong> |
| 34 | + <%= user_mention @event.point_of_contact %> |
| 35 | + </li> |
| 36 | + <% end %> |
| 37 | + </div> |
| 38 | + |
| 39 | + <h3>Nonprofit status</h3> |
| 40 | + <div class="grid grid-cols-3 gap-4"> |
| 41 | + <%= render partial: "document", collection: @active_common_documents.nonprofit_status %> |
| 42 | + </div> |
| 43 | + |
| 44 | + <h3>Tax-exemption documents</h3> |
| 45 | + <div class="grid grid-cols-3 gap-4"> |
| 46 | + <%= render partial: "document", collection: @active_common_documents.tax_exemption %> |
| 47 | + </div> |
| 48 | + |
| 49 | + <h3>Forms</h3> |
| 50 | + <div class="grid grid-cols-3 gap-4"> |
| 51 | + <%= render partial: "document", collection: @active_common_documents.forms %> |
| 52 | + </div> |
| 53 | + </div> |
26 | 54 |
|
27 | 55 | <% if @event.approved? && !@event.demo_mode? %> |
28 | 56 | <%= link_to event_verification_letter_path(event_id: @event.slug, format: "pdf") do %> |
|
35 | 63 | <%= user_mention @event.point_of_contact %> |
36 | 64 | </li> |
37 | 65 | <% end if @event.account_number %> |
38 | | - |
39 | | - <%= link_to event_fiscal_sponsorship_letter_path(event_id: @event.slug, format: "pdf") do %> |
40 | | - <li class="card card--hover h-100"> |
41 | | - <div class="overflow-hidden" style="max-height: 250px;"> |
42 | | - <%= image_tag event_fiscal_sponsorship_letter_url(event_id: @event.slug, format: "png"), width: 330, style: "max-width: 100%;" %> |
43 | | - </div> |
44 | | - |
45 | | - <strong class="h3 block mt1 line-height-2">Fiscal Sponsorship Confirmation</strong> |
46 | | - <%= user_mention @event.point_of_contact %> |
47 | | - </li> |
48 | | - <% end %> |
49 | 66 | <% end %> |
50 | 67 | </ul> |
51 | 68 |
|
|
0 commit comments