View | Details | Raw Unified | Return to bug 16047
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt (-6 / +9 lines)
Lines 329-335 tinyMCE.init({ Link Here
329
329
330
[% IF op == 'add_form_category' %]
330
[% IF op == 'add_form_category' %]
331
    <h3>[% IF category.categorycode %]Edit group [% category.categorycode %][% ELSE %]Add group[% END %]</h3>
331
    <h3>[% IF category.categorycode %]Edit group [% category.categorycode %][% ELSE %]Add group[% END %]</h3>
332
    <form action="/cgi-bin/koha/admin/branches.pl" name="Aform" method="post">
332
    <form action="/cgi-bin/koha/admin/branches.pl" name="Aform" method="post" class="validated">
333
        <input type="hidden" name="op" value="add_validate_category" />
333
        <input type="hidden" name="op" value="add_validate_category" />
334
        [% IF category.categorycode %]
334
        [% IF category.categorycode %]
335
            <input type="hidden" name="is_a_modif" value="1" />
335
            <input type="hidden" name="is_a_modif" value="1" />
Lines 342-355 tinyMCE.init({ Link Here
342
                        <input type="hidden" name="categorycode" id="categorycode" value="[% category.categorycode |html %]" />
342
                        <input type="hidden" name="categorycode" id="categorycode" value="[% category.categorycode |html %]" />
343
                        [% category.categorycode %]
343
                        [% category.categorycode %]
344
                    [% ELSE %]
344
                    [% ELSE %]
345
                        <label for="categorycode">Category code:</label>
345
                        <label for="categorycode" class="required">Category code:</label>
346
                        <input type="text" name="categorycode" id="categorycode" size="10" maxlength="10" class="required" required="required" />
346
                        <input type="text" name="categorycode" id="categorycode" size="10" maxlength="10" class="required" required="required" />
347
                        <span class="required">Required</span>
347
                        <span class="required">Required</span>
348
                    [% END %]
348
                    [% END %]
349
                </li>
349
                </li>
350
                <li>
350
                <li>
351
                    <label for="categoryname">Name: </label>
351
                    <label for="categoryname" class="required">Name: </label>
352
                    <input type="text" name="categoryname" id="categoryname" size="32" maxlength="32" value="[% category.categoryname |html %]" />
352
                    <input type="text" name="categoryname" id="categoryname" size="32" maxlength="32" value="[% category.categoryname |html %]" class="required" required="required" />
353
                    <span class="required">Required</span>
353
                </li>
354
                </li>
354
                <li>
355
                <li>
355
                    <label for="codedescription">Description: </label>
356
                    <label for="codedescription">Description: </label>
Lines 378-384 tinyMCE.init({ Link Here
378
                </li>
379
                </li>
379
            </ol>
380
            </ol>
380
        </fieldset>
381
        </fieldset>
381
        <fieldset class="action"><input type="submit" value="Update" /></fieldset>
382
        <fieldset class="action">
383
            <input type="submit" value="Submit" />
384
            <a href="/cgi-bin/koha/admin/branches.pl" class="cancel">Cancel</a>
385
        </fieldset>
382
    </form>
386
    </form>
383
[% END %]
387
[% END %]
384
388
385
- 

Return to bug 16047