diff --git a/app/views/public/pages/contact.html.erb b/app/views/public/pages/contact.html.erb index f475126..17d5927 100644 --- a/app/views/public/pages/contact.html.erb +++ b/app/views/public/pages/contact.html.erb @@ -6,6 +6,8 @@ - -<%= render :partial => 'public/pages/contact/form' %> - +
+
+ <%= render :partial => 'public/pages/contact/form' %> +
+
diff --git a/app/views/public/pages/contact/_form.html.erb b/app/views/public/pages/contact/_form.html.erb index 0307622..5a595b4 100644 --- a/app/views/public/pages/contact/_form.html.erb +++ b/app/views/public/pages/contact/_form.html.erb @@ -9,20 +9,10 @@ <%= f.text_field :nickname %> -
-
- <%= f.input :name, label: 'Your name' %> - <%= f.input :email, label: 'Your email' %> -
-
- <%= f.input :file, as: :file, hint: 'can be attached optionally' %> -
-
-
-
- <%= f.input :message, as: :text, input_html: { rows: 5 } %> - <%= f.submit 'Send', :class => 'btn btn-primary' %> -
-
+ <%= f.input :name, label: 'Your name' %> + <%= f.input :email, label: 'Your email' %> + <%= f.input :file, as: :file, hint: 'can be attached optionally' %> + <%= f.input :message, as: :text, input_html: { rows: 5 } %> + <%= f.submit 'Send', :class => 'btn btn-primary' %> <% end %>