Skip to content

Commit 1401810

Browse files
committed
Fix deletion requests page
1 parent 9aa6fb6 commit 1401810

File tree

1 file changed

+19
-15
lines changed

1 file changed

+19
-15
lines changed

app/views/organizer_position_deletion_requests/show.html.erb

Lines changed: 19 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<% page_sm %>
33
<%= render "events/nav" if @event %>
44

5-
<article class="card mt3">
5+
<article class="card mt-6">
66
<div class="mb2">
77
<%= link_to "Back", organizer_position_deletion_requests_path, class: "breadcrumb" %>
88
</div>
@@ -112,19 +112,23 @@
112112
<% end %>
113113
</div>
114114

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>
128130
</article>
129131

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

Comments
 (0)