Show More
@@ -1,60 +1,63 b'' | |||
|
1 | 1 | ## -*- coding: utf-8 -*- |
|
2 | 2 | |
|
3 | 3 | ${h.form(url('repos'))} |
|
4 | 4 | <div class="form"> |
|
5 | 5 | <!-- fields --> |
|
6 | 6 | <div class="fields"> |
|
7 | 7 | <div class="field"> |
|
8 | 8 | <div class="label"> |
|
9 | 9 | <label for="repo_name">${_('Name')}:</label> |
|
10 | 10 | </div> |
|
11 | 11 | <div class="input"> |
|
12 | 12 | ${h.text('repo_name',c.new_repo,class_="small")} |
|
13 | %if not h.HasPermissionAll('hg.admin')('repo create form'): | |
|
14 | ${h.hidden('user_created',True)} | |
|
15 | %endif | |
|
13 | 16 | </div> |
|
14 | 17 | </div> |
|
15 | 18 | <div class="field"> |
|
16 | 19 | <div class="label"> |
|
17 | 20 | <label for="clone_uri">${_('Clone from')}:</label> |
|
18 | 21 | </div> |
|
19 | 22 | <div class="input"> |
|
20 | 23 | ${h.text('clone_uri',class_="small")} |
|
21 | 24 | </div> |
|
22 | 25 | </div> |
|
23 | 26 | <div class="field"> |
|
24 | 27 | <div class="label"> |
|
25 | 28 | <label for="repo_group">${_('Repository group')}:</label> |
|
26 | 29 | </div> |
|
27 | 30 | <div class="input"> |
|
28 | 31 | ${h.select('repo_group','',c.repo_groups,class_="medium")} |
|
29 | 32 | </div> |
|
30 | 33 | </div> |
|
31 | 34 | <div class="field"> |
|
32 | 35 | <div class="label"> |
|
33 | 36 | <label for="repo_type">${_('Type')}:</label> |
|
34 | 37 | </div> |
|
35 | 38 | <div class="input"> |
|
36 | 39 | ${h.select('repo_type','hg',c.backends,class_="small")} |
|
37 | 40 | </div> |
|
38 | 41 | </div> |
|
39 | 42 | <div class="field"> |
|
40 | 43 | <div class="label label-textarea"> |
|
41 | 44 | <label for="description">${_('Description')}:</label> |
|
42 | 45 | </div> |
|
43 | 46 | <div class="textarea text-area editor"> |
|
44 | 47 | ${h.textarea('description',cols=23,rows=5)} |
|
45 | 48 | </div> |
|
46 | 49 | </div> |
|
47 | 50 | <div class="field"> |
|
48 | 51 | <div class="label label-checkbox"> |
|
49 | 52 | <label for="private">${_('Private')}:</label> |
|
50 | 53 | </div> |
|
51 | 54 | <div class="checkboxes"> |
|
52 | 55 | ${h.checkbox('private',value="True")} |
|
53 | 56 | </div> |
|
54 | 57 | </div> |
|
55 | 58 | <div class="buttons"> |
|
56 | 59 | ${h.submit('add','add',class_="ui-button")} |
|
57 | 60 | </div> |
|
58 | 61 | </div> |
|
59 | 62 | </div> |
|
60 | 63 | ${h.end_form()} |
General Comments 0
You need to be logged in to leave comments.
Login now