diff --git a/app/views/relationable/_form.html.erb b/app/views/relationable/_form.html.erb index 03ad8f5a4..2f8a15a7f 100644 --- a/app/views/relationable/_form.html.erb +++ b/app/views/relationable/_form.html.erb @@ -3,24 +3,24 @@ <%= form_tag related_contents_path, method: :post, id: "related_content", class: "hide", "data-toggler": ".hide" do %> - + - + -
-
- <%= text_field_tag :url, "", - "aria-describedby": "related_content_help_text", - placeholder: t("related_content.placeholder", url: setting["url"]) %> +
+
+ <%= text_field_tag :url, "", + "aria-describedby": "related_content_help_text", + placeholder: t("related_content.placeholder", url: setting["url"]) %> - <%= hidden_field_tag :relationable_klass, relationable.class.name %> - <%= hidden_field_tag :relationable_id, relationable.id %> -
- -
- <%= submit_tag t("related_content.submit"), class: "button" %> -
+ <%= hidden_field_tag :relationable_klass, relationable.class.name %> + <%= hidden_field_tag :relationable_id, relationable.id %>
- <% end %> + +
+ <%= submit_tag t("related_content.submit"), class: "button" %> +
+
+<% end %>