Refactor add-service form such that the dao is not exposed in the forms.

This commit is contained in:
Rebecca Law
2016-01-04 15:31:50 +00:00
parent 75bafd7a7d
commit ac05f6931e
9 changed files with 57 additions and 35 deletions

View File

@@ -18,9 +18,7 @@ GOV.UK Notify | Set up service
<form autocomplete="off" action="" method="post">
{{ form.hidden_tag() }}
<label class="form-label">Service name</label>
{{ form.service_name(class="form-control-2-3", autocomplete="off") }} <br>
<span class="font-xsmall">For example, 'Vehicle tax' or 'Carer's allowance'</span>
{{ render_field(form.service_name, class='form-control-2-3') }}
<p>
<button class="button" href="dashboard" role="button">Continue</button>