projects
/
flowspy
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a6e30e8
)
Add fragment type in application form
author
Leonidas Poulopoulos
<leopoul@noc.grnet.gr>
Tue, 2 Apr 2013 15:08:29 +0000
(18:08 +0300)
committer
Leonidas Poulopoulos
<leopoul@noc.grnet.gr>
Tue, 2 Apr 2013 15:08:29 +0000
(18:08 +0300)
templates/apply.html
patch
|
blob
|
history
diff --git
a/templates/apply.html
b/templates/apply.html
index
1b8452e
..
b89c054
100644
(file)
--- a/
templates/apply.html
+++ b/
templates/apply.html
@@
-29,7
+29,7
@@
});
});
- $('#id_then').attr("multiple", "");
+ /*$('#id_then').attr("multiple", "");*/
$( "#id_expires" ).datepicker({ dateFormat: 'yy-mm-dd' , maxDate: '+10d', minDate: '+1d', changeMonth: false, changeYear: false }).datepicker( $.datepicker.regional[ "el" ] );
{% comment %}
$('#then_diag').dialog({
$( "#id_expires" ).datepicker({ dateFormat: 'yy-mm-dd' , maxDate: '+10d', minDate: '+1d', changeMonth: false, changeYear: false }).datepicker( $.datepicker.regional[ "el" ] );
{% comment %}
$('#then_diag').dialog({
@@
-276,6
+276,18
@@
</div>
</div>
</div>
</div>
+ <div class="control-group {% if form.fragmenttype.errors %} error {% endif %}">
+ <label class="control-label" for="id_fragmenttype">{% trans "Fragment Type" %}</label>
+ <div class="controls">{{ form.fragmenttype }}
+ {% if form.fragmenttype.errors %}
+ <span class="help-inline">
+ {{ form.fragmenttype.errors|join:", " }}
+ </span>
+ {% endif %}
+ </div>
+
+ </div>
+
<div
class="control-group {% if form.port.errors %} error {% endif %}">
<label class="control-label" for="id_port">{% trans "Ports" %}</label>
<div
class="control-group {% if form.port.errors %} error {% endif %}">
<label class="control-label" for="id_port">{% trans "Ports" %}</label>