From 1c842f372f9f46232551a62af2a8b6218054b432 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Fri, 1 Jun 2018 20:42:49 +0100 Subject: Add the form-horizontal CSS class to the services form As this helps with the CSS styling from Bootstrap. --- app/views/mini_environments/services.html.erb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/views/mini_environments/services.html.erb b/app/views/mini_environments/services.html.erb index 3a9ab12..78cdeff 100644 --- a/app/views/mini_environments/services.html.erb +++ b/app/views/mini_environments/services.html.erb @@ -54,7 +54,8 @@ License along with the GOV.UK Mini Environment Admin. If not, see <%= form_with(method: 'put', - url: { action: "services" }) do |f| %> + url: { action: "services" }, + html: { class: 'form-horizontal' }) do |f| %>

-- cgit v1.2.3