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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt (-11 / +4 lines)
Lines 989-1001 Link Here
989
        [% END %]
989
        [% END %]
990
        [% UNLESS nobranchcode %]
990
        [% UNLESS nobranchcode %]
991
    <li>
991
    <li>
992
      [%- IF ( mandatorybranchcode ) -%]
992
        <label for="branchcode" class="required">Library:</label>
993
        <label for="branchcode" class="required">
993
        <select name="branchcode" size="1" id="branchcode">
994
      [%- ELSE -%]
995
        <label for="branchcode">
996
      [%- END -%]
997
      Library:</label>
998
      <select name="branchcode" size="1" id="branchcode">
999
        [%- FOREACH branchloo IN branchloop %]
994
        [%- FOREACH branchloo IN branchloop %]
1000
          [% IF ( branchloo.selected ) -%]
995
          [% IF ( branchloo.selected ) -%]
1001
            <option value="[% branchloo.branchcode %]" selected="selected">[% branchloo.branchname %]</option>
996
            <option value="[% branchloo.branchcode %]" selected="selected">[% branchloo.branchname %]</option>
Lines 1004-1016 Link Here
1004
          [%- END -%]
999
          [%- END -%]
1005
        [%- END %]
1000
        [%- END %]
1006
      </select>
1001
      </select>
1007
      [% IF ( mandatorybranchcode ) -%]
1008
      <span class="required">Required</span>
1002
      <span class="required">Required</span>
1009
      [%- END %]
1010
    </li>
1003
    </li>
1011
        [% END %]
1004
        [% END %]
1012
    <li>
1005
    <li>
1013
        <label for="categorycode">Category: </label>
1006
        <label for="categorycode" class="required">Category: </label>
1014
        <select id="categorycode" name="categorycode" onchange="update_category_code(this);">
1007
        <select id="categorycode" name="categorycode" onchange="update_category_code(this);">
1015
        [% FOREACH typeloo IN typeloop %]
1008
        [% FOREACH typeloo IN typeloop %]
1016
            [% FOREACH categoryloo IN typeloo.categoryloop %]
1009
            [% FOREACH categoryloo IN typeloo.categoryloop %]
Lines 1033-1038 Link Here
1033
            [% END %]
1026
            [% END %]
1034
       [% END %]
1027
       [% END %]
1035
       </select>
1028
       </select>
1029
       <span class="required">Required</span>
1036
    </li>
1030
    </li>
1037
        [% UNLESS nosort1 %]
1031
        [% UNLESS nosort1 %]
1038
    <li>
1032
    <li>
1039
- 

Return to bug 10297