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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt (-4 / +3 lines)
Lines 1221-1231 Link Here
1221
                [% END %]
1221
                [% END %]
1222
                    <p><a href="#" id="add_manual_restriction">Add manual restriction</a></p>
1222
                    <p><a href="#" id="add_manual_restriction">Add manual restriction</a></p>
1223
                    <fieldset id="manual_restriction_form">
1223
                    <fieldset id="manual_restriction_form">
1224
                        <input type="hidden" id="add_debarment" name="add_debarment" value="1" />
1224
                        <input type="hidden" id="add_debarment" name="add_debarment" value="0" />
1225
                        <legend>Add manual restriction</legend>
1225
                        <legend>Add manual restriction</legend>
1226
                        <ol>
1226
                        <ol>
1227
                            <li><label for="debarred_comment">Comment: </label><input type="text" id="debarred_comment" name="debarred_comment" onchange="$('#add_debarment').prop('checked', true);" /></li>
1227
                            <li><label for="debarred_comment">Comment: </label><input type="text" id="debarred_comment" name="debarred_comment" onchange="$('#add_debarment').val(1);" /></li>
1228
                            <li><label for="debarred_expiration">Expiration: </label><input name="debarred_expiration" id="debarred_expiration" size="10" readonly="readonly" value="" class="datepicker" onchange="$('#add_debarment').prop('checked', true);" />
1228
                            <li><label for="debarred_expiration">Expiration: </label><input name="debarred_expiration" id="debarred_expiration" size="10" readonly="readonly" value="" class="datepicker" onchange="$('#add_debarment').val(1);" />
1229
                                    <a href='javascript:void(0)' onclick="$('#debarred_expiration').val('');">Clear date</a></li>
1229
                                    <a href='javascript:void(0)' onclick="$('#debarred_expiration').val('');">Clear date</a></li>
1230
1230
1231
                        </ol>
1231
                        </ol>
1232
- 

Return to bug 11216