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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tt (-9 / +12 lines)
Lines 76-103 $(document).ready(function() { Link Here
76
76
77
    [% IF ( action_modify ) %]<div class="note"><i class="fa fa-exclamation"></i> <strong>NOTE:</strong> If you change an authorized value code, existing records using it won't be updated. Changes to value descriptions will show immediately.</div>[% END %]
77
    [% IF ( action_modify ) %]<div class="note"><i class="fa fa-exclamation"></i> <strong>NOTE:</strong> If you change an authorized value code, existing records using it won't be updated. Changes to value descriptions will show immediately.</div>[% END %]
78
78
79
 <form action="/cgi-bin/koha/admin/authorised_values.pl" name="Aform" method="post">
79
 <form action="/cgi-bin/koha/admin/authorised_values.pl" name="Aform" method="post" class="validated">
80
    <input type="hidden" name="op" value="add" />
80
    <input type="hidden" name="op" value="add" />
81
        <fieldset class="rows"><ol>
81
        <fieldset class="rows"><ol>
82
        <li>
82
        <li>
83
        [% IF ( action_add_category ) %]<label for="category">Category: </label>
83
        [% IF ( action_add_category ) %]
84
            <input type="text" name="category"  id="category" size="32" maxlength="32" class="focus" />
84
            <label for="category" class="required">Category: </label>
85
            <input type="text" name="category"  id="category" size="32" maxlength="32" class="focus required" />
86
            <span class="required">Required</span>
85
			 [% ELSE %]<span class="label">Category</span>
87
			 [% ELSE %]<span class="label">Category</span>
86
		<input type="hidden" name="category" value="[% category %]" />	 [% category %]
88
		<input type="hidden" name="category" value="[% category %]" />	 [% category %]
87
			 [% END %]
89
			 [% END %]
88
        </li>
90
        </li>
89
        <li>
91
        <li>
90
            <label for="authorised_value">Authorized value: </label>
92
            <label for="authorised_value" class="required">Authorized value: </label>
91
     [% IF ( action_modify ) %]<input type="hidden" id="id" name="id" value="[% id %]" />[% END %]
93
     [% IF ( action_modify ) %]<input type="hidden" id="id" name="id" value="[% id %]" />[% END %]
92
            [% IF ( action_add_category ) %]
94
            [% IF ( action_add_category ) %]
93
            <input type="text" id="authorised_value" name="authorised_value" value="[% authorised_value %]" maxlength="80" />
95
            <input type="text" id="authorised_value" name="authorised_value" value="[% authorised_value %]" maxlength="80" class="required" />
94
            [% ELSE %]
96
            [% ELSE %]
95
            <input type="text" id="authorised_value" name="authorised_value" value="[% authorised_value %]" maxlength="80" class="focus" />
97
            <input type="text" id="authorised_value" name="authorised_value" value="[% authorised_value %]" maxlength="80" class="focus required" />
96
            [% END %]
98
            [% END %]
99
            <span class="required">Required</span>
97
        </li>
100
        </li>
98
        <li>
101
        <li>
99
            <label for="lib">Description: </label>
102
            <label for="lib" class="required">Description: </label>
100
            <input type="text" name="lib" id="lib" value="[% lib %]" maxlength="200" />
103
            <input type="text" name="lib" id="lib" value="[% lib %]" maxlength="200" class="required" />
104
            <span class="required">Required</span>
101
        </li>
105
        </li>
102
	<li>
106
	<li>
103
            <label for="lib_opac">Description (OPAC): </label>
107
            <label for="lib_opac">Description (OPAC): </label>
104
- 

Return to bug 11019