|
2 | 2 | <% page_sm %> |
3 | 3 | <%= render "events/nav" if @event %> |
4 | 4 |
|
5 | | -<article class="card mt3"> |
| 5 | +<article class="card mt-6"> |
6 | 6 | <div class="mb2"> |
7 | 7 | <%= link_to "Back", organizer_position_deletion_requests_path, class: "breadcrumb" %> |
8 | 8 | </div> |
|
112 | 112 | <% end %> |
113 | 113 | </div> |
114 | 114 |
|
115 | | -<% if @opdr.under_review? %> |
116 | | - <%= link_to "Close Request", |
117 | | - organizer_position_deletion_request_close_path(@opdr.id), |
118 | | - method: :post, |
119 | | - data: { confirm: "This will mark the request as processed. Only continue if no follow-up is needed for this request." }, |
120 | | - class: "btn bg-accent" %> |
121 | | -<% else %> |
122 | | - <%= link_to "Open Request", |
123 | | - organizer_position_deletion_request_open_path(@opdr.id), |
124 | | - method: :post, |
125 | | - data: { confirm: "This will re-open the request." }, |
126 | | - class: "btn bg-info" %> |
127 | | -<% end %> |
| 115 | +<div class="px-7"> |
| 116 | + <% if @opdr.under_review? %> |
| 117 | + <%= link_to "Close Request", |
| 118 | + organizer_position_deletion_request_close_path(@opdr.id), |
| 119 | + method: :post, |
| 120 | + data: { confirm: "This will mark the request as processed. Only continue if no follow-up is needed for this request." }, |
| 121 | + class: "btn bg-accent" %> |
| 122 | + <% else %> |
| 123 | + <%= link_to "Open Request", |
| 124 | + organizer_position_deletion_request_open_path(@opdr.id), |
| 125 | + method: :post, |
| 126 | + data: { confirm: "This will re-open the request." }, |
| 127 | + class: "btn bg-info" %> |
| 128 | + <% end %> |
| 129 | +</div> |
128 | 130 | </article> |
129 | 131 |
|
130 | | -<%= render "comments/comments" %> |
| 132 | +<div class="pr-8 lg:mt-6 pl-8 lg:pl-0"> |
| 133 | + <%= render "comments/comments" %> |
| 134 | +</div> |
0 commit comments