aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2018-06-01 20:42:49 +0100
committerChristopher Baines <mail@cbaines.net>2018-06-01 20:42:49 +0100
commit1c842f372f9f46232551a62af2a8b6218054b432 (patch)
treeeed3cb23a14d1d276c9d65f5f506f30d3af7ef60
parentf98bdb86d09f803495c9c203c350a7f06d96a8de (diff)
downloadgovuk-mini-environment-admin-1c842f372f9f46232551a62af2a8b6218054b432.tar
govuk-mini-environment-admin-1c842f372f9f46232551a62af2a8b6218054b432.tar.gz
Add the form-horizontal CSS class to the services form
As this helps with the CSS styling from Bootstrap.
-rw-r--r--app/views/mini_environments/services.html.erb3
1 files changed, 2 insertions, 1 deletions
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
</div>
<%= form_with(method: 'put',
- url: { action: "services" }) do |f| %>
+ url: { action: "services" },
+ html: { class: 'form-horizontal' }) do |f| %>
<div class="row">
<div class="col-md-9">
<p>