diff --git a/app/assets/stylesheets/layout.scss b/app/assets/stylesheets/layout.scss index f6bbaeacd..0db486257 100644 --- a/app/assets/stylesheets/layout.scss +++ b/app/assets/stylesheets/layout.scss @@ -2462,6 +2462,7 @@ table { .add-related-content { display: block; + margin-bottom: $line-height; @include breakpoint(medium) { float: right; diff --git a/app/views/relationable/_form.html.erb b/app/views/relationable/_form.html.erb index acab65165..03ad8f5a4 100644 --- a/app/views/relationable/_form.html.erb +++ b/app/views/relationable/_form.html.erb @@ -1,3 +1,7 @@ + + <%= form_tag related_contents_path, method: :post, id: "related_content", class: "hide", "data-toggler": ".hide" do %> diff --git a/app/views/relationable/_related_content.html.erb b/app/views/relationable/_related_content.html.erb index 96353b754..fde55b475 100644 --- a/app/views/relationable/_related_content.html.erb +++ b/app/views/relationable/_related_content.html.erb @@ -1,15 +1,8 @@