allura
Révision | d9dfc4e53d253b26ebb4e08e4ead6b253105c3a8 (tree) |
---|---|
l'heure | 2011-04-05 05:02:38 |
Auteur | Dave Brondsema <dbrondsema@geek...> |
Commiter | Rick Copeland |
[#4618] add labels to project reg form
Signed-off-by: Dave Brondsema <dbrondsema@geek.net>
@@ -1,10 +1,18 @@ | ||
1 | 1 | <form action="{{action}}" method="POST"> |
2 | 2 | |
3 | 3 | <div class="welcome"> |
4 | - <div class="grid-9" style="text-align: right">Project Name:</div> | |
4 | + <div class="grid-9" style="text-align: right"> | |
5 | + <label for="{{ widget.context_for(widget.fields[0])['id'] }}"> | |
6 | + Project Name: | |
7 | + </label> | |
8 | + </div> | |
5 | 9 | <div class="grid-8">{{widget.display_field_by_idx(0)|safe}}</div> |
6 | 10 | <div class="grid-6"> </div> |
7 | - <div class="grid-9" style="text-align: right">URL: http://{{c.environ['HTTP_HOST']}}{{neighborhood.url()}}</div> | |
11 | + <div class="grid-9" style="text-align: right"> | |
12 | + <label for="{{ widget.context_for(widget.fields[1])['id'] }}"> | |
13 | + URL: http://{{c.environ['HTTP_HOST']}}{{neighborhood.url()}} | |
14 | + </label> | |
15 | + </div> | |
8 | 16 | <div class="grid-8">{{widget.display_field_by_idx(1)|safe}}<br><div id="name_availablity" style="display:none"></div></div> |
9 | 17 | <div class="grid-3"><input type="button" value="Suggest" id="suggest_project_name"></div> |
10 | 18 | {{widget.display_field_by_idx(3)|safe}} |