Make the "state" field in registration a togglable YAOUS
[working/Evergreen.git] / Open-ILS / src / templates / actor / user / register_table.tt2
1 <tbody id='uedit-tbody'>
2     <tr fmclass='ac' fmfield='barcode' required='required'>
3         <td/><td/><td/>
4         <td>
5             <button dojoType='dijit.form.Button' jsId='replaceBarcode' scrollOnFocus='false'></button>
6             <span id='uedit-dupe-barcode-warning' style='color:red; font-weight:bold' class='hidden'>
7             </span>
8         </td>
9         <td id='uedit-all-barcodes'>
10             <button dojoType='dijit.form.Button' jsId='allCards' scrollOnFocus='false'></button>
11         </td>
12     </tr>
13     <tr fmclass='au' fmfield='usrname' required='required'>
14         <td/><td/><td/>
15         <td>
16             <span id='uedit-dupe-username-warning' style='color:red; font-weight:bold' class='hidden'>
17             </span>
18         </td>
19     </tr>
20     <tr fmclass='au' fmfield='passwd' required='required'>
21         <td/><td/><td/>
22         <td>
23             <button dojoType='dijit.form.Button' jsId='generatePassword' scrollOnFocus='false' tabIndex='-1'></button>
24         </td>
25     </tr>
26     <tr fmclass='au' fmfield='passwd2' required='required'><td/><td id='verifyPassword'></td><td/></tr>
27     <tr fmclass='au' fmfield='prefix'/>
28     <tr fmclass='au' fmfield='first_given_name' required='required'/>
29     <tr fmclass='au' fmfield='second_given_name'/>
30     <tr fmclass='au' fmfield='family_name' required='required'/>
31     <tr fmclass='au' fmfield='suffix'/>
32     <tr fmclass='au' fmfield='alias'/>
33     <tr fmclass='au' fmfield='dob'/>
34     <tr fmclass='au' fmfield='juvenile'/>
35     <tr fmclass='au' fmfield='ident_type' required='required'/>
36     <tr fmclass='au' fmfield='ident_value'/>
37     <tr fmclass='au' fmfield='ident_value2'><td/><td id='parentGuardian'></td></tr>
38     <tr fmclass='au' fmfield='email'/>
39     <tr fmclass='au' fmfield='day_phone'/>
40     <tr fmclass='au' fmfield='evening_phone'/>
41     <tr fmclass='au' fmfield='other_phone'/>
42     <tr fmclass='au' fmfield='home_ou' required='required'/>
43     <tr fmclass='au' fmfield='profile' required='required'/>
44     <tr fmclass='au' fmfield='expire_date' required='required'/>
45     <tr fmclass='au' fmfield='net_access_level' required='required'/>
46     <tr fmclass='au' fmfield='active'/>
47     <tr fmclass='au' fmfield='barred'/>
48     <tr fmclass='au' fmfield='master_account'/>
49     <tr fmclass='au' fmfield='claims_returned_count' wclass='dijit.form.NumberSpinner' wconstraints="{min:0,places:0}" wvalue='0'/>
50     <tr fmclass='au' fmfield='claims_never_checked_out_count' wclass='dijit.form.NumberSpinner' wconstraints="{min:0,places:0}" wvalue='0'/>
51     <tr fmclass='au' fmfield='alert_message' wclass='dijit.form.Textarea' wstyle='height:5em'/>
52
53     <tr class='divider hidden' id='uedit-settings-divider'><td colspan='0' id='userSettings'></td></tr>
54     <tr class='hidden' id='uedit-user-setting-template'>
55         <td/>
56         <td><span name='label'></span></td>
57         <td><div name='widget'></div></td>
58     </tr>
59
60     <!-- Address -->
61     <tr name='uedit-addr-divider' class='divider' type='addr-template' required='show'>
62         <td colspan='2' name='addressHeader'></td>
63         <td>
64             <span name='mailingAddress'></span><input type='radio' name='mailing_address'>
65             <span name='billingAddress'></span><input type='radio' name='billing_address'>
66             <button dojoType='dijit.form.Button' scrollOnFocus='false' name='delete-button' class='uedit-addr-del-button'>X</button>
67         </td>
68     </tr>
69
70     <tr name='uedit-addr-pending-row' type='addr-template' class='pending-addr-row hidden'>
71         <td colspan='3'>
72             <span style='padding-right:10px;' name='addressPending'></span>
73             <button dojoType='dijit.form.Button' scrollOnFocus='false'  name='approve-button'></button>
74             <div name='replaced-addr-div'>
75                 <div name='replaced-addr'></div>
76             </div>
77         </td>
78     </tr>
79
80     <tr name='uedit-addr-owner-row' type='addr-template' class='pending-addr-row hidden'>
81         <td colspan='3'>
82             <span style='padding-right:10px;' name='address-already-owned'></span>
83             <a href='javascript:void(0);'  name='addr-owner'></a>
84         </td>
85     </tr>
86
87
88     <tr fmclass='aua' fmfield='address_type' type='addr-template' required='required'/>
89     <tr fmclass='aua' fmfield='post_code' type='addr-template' required='required'/>
90     <tr fmclass='aua' fmfield='street1' type='addr-template' required='required'/>
91     <tr fmclass='aua' fmfield='street2' type='addr-template' required='show'/>
92     <tr fmclass='aua' fmfield='city' type='addr-template' required='required'/>
93     <tr fmclass='aua' fmfield='county' type='addr-template' required='show'/>
94     <tr fmclass='aua' fmfield='state' type='addr-template'/>
95     <tr fmclass='aua' fmfield='country' type='addr-template' required='required'/>
96     <tr fmclass='aua' fmfield='valid' type='addr-template' required='show'/>
97     <tr fmclass='aua' fmfield='within_city_limits' type='addr-template' required='show'/>
98
99     <tr id='new-addr-row' class='newaddr-row' required='show'>
100         <td colspan='0' style='text-align:center;'>
101             <button dojoType='dijit.form.Button' onClick='uEditNewAddr' scrollOnFocus='false' name='addressNew'></button>
102         </td>
103     </tr>
104
105     <!-- stat cats -->
106     <tr class='divider' id='stat-cat-divider' required='suggested'><td colspan='0' id='statCats'></td></tr>
107     <tr id='stat-cat-row-template' required='suggested'><td class='uedit-help'/><td name='name'/><td name='widget'/></tr>
108
109     <!-- surveys -->
110     <tr id='survey-row-template' class='divider' required='suggested'><td colspan='0' name='name'/></tr>
111     <tr id='survey-question-row-template' required='suggested'><td class='uedit-help'/><td name='question'/><td name='answers'/></tr>
112 </tbody>
113