+[% IF op == 'add_form' %]
+ <form action="/cgi-bin/koha/admin/authtypes.pl" name="Aform" method="post" class="validated">
+ <fieldset class="rows">
+ <legend>
+ [% IF authority_type.authtypecode %]
+ Modify authority type
+ [% ELSE %]
+ New authority type
+ [% END %]
+ </legend>
+ <ol>
+ <li>
+ [% IF authority_type.authtypecode %]
+ <span class="label">Authority type</span>
+ <input type="hidden" name="op" value="add_validate" />
+ <input type="hidden" name="checked" value="0" />
+ <input type="hidden" name="authtypecode" value="[% authority_type.authtypecode %]" />[% authority_type.authtypecode %]
+ [% ELSE %]
+ <label for="authtypecode" class="required">Authority type: </label>
+ <input id="authtypecode" type="text" class="required" required="required" name="authtypecode" size="10" maxlength="10" onblur="toUC(this)" />
+ <span class="required">Required</span>
+ [% END %]
+ </li>
+ <li>
+ <label for="authtypetext" class="required">Description: </label>
+ <input type="text" id="authtypetext" name="authtypetext" size="40" maxlength="80" value="[% authority_type.authtypetext |html %]" class="required" required="required" />
+ <span class="required">Required</span>
+ </li>
+ <li>
+ <label for="summary">Summary: </label>
+ <textarea id="summary" name="summary" cols="55" rows="7">[% authority_type.summary %]</textarea>
+ </li>
+ <li>
+ <p class="tip">Note: for 'Authority field to copy', enter the authority field that should be copied from the authority record to the bibliographic record. E.g., in MARC21, field 100 in the authority record should be copied to field 100 in the bibliographic record</p>
+ <label for="auth_tag_to_report">Authority field to copy: </label>
+ <input type="text" id="auth_tag_to_report" name="auth_tag_to_report" size="5" maxlength="3" value="[% authority_type.auth_tag_to_report %]" />
+ <input type="hidden" name="op" value="add_validate" />
+ [% IF authority_type.authtypecode %]
+ <input type="hidden" name="is_a_modif" value="1" />
+ [% END %]
+ </li>
+ </ol>
+ </fieldset>
+ <fieldset class="action">
+ <input type="submit" value="Submit" />
+ <a class="cancel" href="/cgi-bin/koha/admin/authtypes.pl">Cancel</a>
+ </fieldset>
+ </form>
+[% END %]