Lines 323-329
tinyMCE.init({
Link Here
|
323 |
|
323 |
|
324 |
[% IF op == 'add_form_category' %] |
324 |
[% IF op == 'add_form_category' %] |
325 |
<h3>[% IF category.categorycode %]Edit group [% category.categorycode %][% ELSE %]Add group[% END %]</h3> |
325 |
<h3>[% IF category.categorycode %]Edit group [% category.categorycode %][% ELSE %]Add group[% END %]</h3> |
326 |
<form action="/cgi-bin/koha/admin/branches.pl" name="Aform" method="post"> |
326 |
<form action="/cgi-bin/koha/admin/branches.pl" name="Aform" method="post" class="validated"> |
327 |
<input type="hidden" name="op" value="add_validate_category" /> |
327 |
<input type="hidden" name="op" value="add_validate_category" /> |
328 |
[% IF category.categorycode %] |
328 |
[% IF category.categorycode %] |
329 |
<input type="hidden" name="is_a_modif" value="1" /> |
329 |
<input type="hidden" name="is_a_modif" value="1" /> |
Lines 336-349
tinyMCE.init({
Link Here
|
336 |
<input type="hidden" name="categorycode" id="categorycode" value="[% category.categorycode |html %]" /> |
336 |
<input type="hidden" name="categorycode" id="categorycode" value="[% category.categorycode |html %]" /> |
337 |
[% category.categorycode %] |
337 |
[% category.categorycode %] |
338 |
[% ELSE %] |
338 |
[% ELSE %] |
339 |
<label for="categorycode">Category code:</label> |
339 |
<label for="categorycode" class="required">Category code:</label> |
340 |
<input type="text" name="categorycode" id="categorycode" size="10" maxlength="10" class="required" required="required" /> |
340 |
<input type="text" name="categorycode" id="categorycode" size="10" maxlength="10" class="required" required="required" /> |
341 |
<span class="required">Required</span> |
341 |
<span class="required">Required</span> |
342 |
[% END %] |
342 |
[% END %] |
343 |
</li> |
343 |
</li> |
344 |
<li> |
344 |
<li> |
345 |
<label for="categoryname">Name: </label> |
345 |
<label for="categoryname" class="required">Name: </label> |
346 |
<input type="text" name="categoryname" id="categoryname" size="32" maxlength="32" value="[% category.categoryname |html %]" /> |
346 |
<input type="text" name="categoryname" id="categoryname" size="32" maxlength="32" value="[% category.categoryname |html %]" class="required" required="required" /> |
|
|
347 |
<span class="required">Required</span> |
347 |
</li> |
348 |
</li> |
348 |
<li> |
349 |
<li> |
349 |
<label for="codedescription">Description: </label> |
350 |
<label for="codedescription">Description: </label> |
Lines 372-378
tinyMCE.init({
Link Here
|
372 |
</li> |
373 |
</li> |
373 |
</ol> |
374 |
</ol> |
374 |
</fieldset> |
375 |
</fieldset> |
375 |
<fieldset class="action"><input type="submit" value="Update" /></fieldset> |
376 |
<fieldset class="action"> |
|
|
377 |
<input type="submit" value="Submit" /> |
378 |
<a href="/cgi-bin/koha/admin/branches.pl" class="cancel">Cancel</a> |
379 |
</fieldset> |
376 |
</form> |
380 |
</form> |
377 |
[% END %] |
381 |
[% END %] |
378 |
|
382 |
|
379 |
- |
|
|