Bug 16099: Make name required field when creating subscription field

To test:
1) Notice behaviour when adding subcription field (Serials) without a
   name
2) Apply patch
3) Attempt to create subscription field without a name and click Save
4) Notice that you not cannot submit the form without adding the name

Sponsored-by: Catalyst IT
Signed-off-by: Owen Leonard <oleonard@myacpl.org>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com
This commit is contained in:
Aleisha 2016-03-18 00:02:20 +00:00 committed by Brendan Gallagher
parent 71a878bdf3
commit 0b33801976

View file

@ -126,7 +126,8 @@
<ol>
<li>
<label for="name" class="required">Name: </label>
<input type="text" name="name" id="name" value="[% field.name | html %]" />
<input type="text" name="name" id="name" value="[% field.name | html %]" class="required" required="required" />
<span class="required">Required</span>
</li>
<li>
<label for="av">Authorised value category: </label>