From e7f5b6363a076c04942b8a37288d1f92b419952a Mon Sep 17 00:00:00 2001 From: lujanfernaud Date: Wed, 8 Aug 2018 17:26:07 +0100 Subject: [PATCH] Fix spacing in 'membership_requests/index' When having membership requests received and sent, the title of the latter had too much spacing on top. --- .../_membership_request_received.html.erb | 2 +- .../membership_requests/_membership_request_sent.html.erb | 2 +- app/views/users/membership_requests/index.html.erb | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/views/users/membership_requests/_membership_request_received.html.erb b/app/views/users/membership_requests/_membership_request_received.html.erb index 969afc05..06637bdb 100644 --- a/app/views/users/membership_requests/_membership_request_received.html.erb +++ b/app/views/users/membership_requests/_membership_request_received.html.erb @@ -1,5 +1,5 @@
+ class="row d-flex mt-4 box bg-white"> + class="row d-flex mt-4 box bg-white"> diff --git a/app/views/users/membership_requests/index.html.erb b/app/views/users/membership_requests/index.html.erb index 1795d369..59ad2b4d 100644 --- a/app/views/users/membership_requests/index.html.erb +++ b/app/views/users/membership_requests/index.html.erb @@ -5,11 +5,11 @@
<% if @membership_requests_received.any? %> -

+

Membership Requests Received

-
+
<% @membership_requests_received.each do |membership_request| %> <%= render "membership_request_received", @@ -20,11 +20,11 @@ <% end %> <% if @membership_requests_sent.any? %> -

+

Membership Requests Sent

-
+
<% @membership_requests_sent.each do |membership_request| %> <%= render "membership_request_sent",