git://git.onelab.eu
/
unfold.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Create project, user authority pre-selected
[unfold.git]
/
portal
/
templates
/
fed4fire
/
fed4fire_projectrequest_view.html
diff --git
a/portal/templates/fed4fire/fed4fire_projectrequest_view.html
b/portal/templates/fed4fire/fed4fire_projectrequest_view.html
index
d5885a0
..
d002152
100644
(file)
--- a/
portal/templates/fed4fire/fed4fire_projectrequest_view.html
+++ b/
portal/templates/fed4fire/fed4fire_projectrequest_view.html
@@
-82,9
+82,9
@@
{% if authorities %}
{% for authority in authorities %}
{% if authority.name %}
{% if authorities %}
{% for authority in authorities %}
{% if authority.name %}
- <option value="{{ authority.authority_hrn }}">{{authority.name}}</option>
+ <option value="{{ authority.authority_hrn }}"
{% if authority.authority_hrn == authority_hrn %}selected{% endif %}
>{{authority.name}}</option>
{% else %}
{% else %}
- <option value="{{ authority.authority_hrn }}">{{authority.authority_hrn}}</option>
+ <option value="{{ authority.authority_hrn }}"
{% if authority.authority_hrn == authority_hrn %}selected{% endif %}
>{{authority.authority_hrn}}</option>
{% endif %}
{% endfor %}
{% endif %}
{% endif %}
{% endfor %}
{% endif %}