|
14 | 14 | {{.CsrfTokenHtml}} |
15 | 15 | <div class="required field {{if .Err_Name}}error{{end}}"> |
16 | 16 | <label for="org_name">{{.locale.Tr "org.org_name_holder"}} |
17 | | - <span class="text red gt-hidden" id="org-name-change-prompt"> {{.locale.Tr "org.settings.change_orgname_prompt"}}</span> |
18 | | - <span class="text red gt-hidden" id="org-name-change-redirect-prompt"> {{.locale.Tr "org.settings.change_orgname_redirect_prompt"}}</span> |
| 17 | + <span class="text red gt-hidden" id="org-name-change-prompt"> |
| 18 | + <br>{{.locale.Tr "org.settings.change_orgname_prompt"}}<br>{{.locale.Tr "org.settings.change_orgname_redirect_prompt"}} |
| 19 | + </span> |
19 | 20 | </label> |
20 | | - <input id="org_name" name="name" value="{{.Org.Name}}" data-org-name="{{.Org.Name}}" autofocus required> |
| 21 | + <input id="org_name" name="name" value="{{.Org.Name}}" data-org-name="{{.Org.Name}}" autofocus required maxlength="40"> |
21 | 22 | </div> |
22 | 23 | <div class="field {{if .Err_FullName}}error{{end}}"> |
23 | 24 | <label for="full_name">{{.locale.Tr "org.org_full_name_holder"}}</label> |
24 | | - <input id="full_name" name="full_name" value="{{.Org.FullName}}"> |
| 25 | + <input id="full_name" name="full_name" value="{{.Org.FullName}}" maxlength="100"> |
25 | 26 | </div> |
26 | 27 | <div class="field {{if .Err_Description}}error{{end}}"> |
27 | 28 | <label for="description">{{$.locale.Tr "org.org_desc"}}</label> |
28 | | - <textarea id="description" name="description" rows="2">{{.Org.Description}}</textarea> |
| 29 | + <textarea id="description" name="description" rows="2" maxlength="255">{{.Org.Description}}</textarea> |
29 | 30 | </div> |
30 | 31 | <div class="field {{if .Err_Website}}error{{end}}"> |
31 | 32 | <label for="website">{{.locale.Tr "org.settings.website"}}</label> |
32 | | - <input id="website" name="website" type="url" value="{{.Org.Website}}"> |
| 33 | + <input id="website" name="website" type="url" value="{{.Org.Website}}" maxlength="255"> |
33 | 34 | </div> |
34 | 35 | <div class="field"> |
35 | 36 | <label for="location">{{.locale.Tr "org.settings.location"}}</label> |
36 | | - <input id="location" name="location" value="{{.Org.Location}}"> |
| 37 | + <input id="location" name="location" value="{{.Org.Location}}" maxlength="50"> |
37 | 38 | </div> |
38 | 39 |
|
39 | 40 | <div class="ui divider"></div> |
|
0 commit comments