git://git.onelab.eu
/
myslice.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Top Menue Updated + /portal/register improved
[myslice.git]
/
portal
/
templates
/
register_4m_f4f.html
diff --git
a/portal/templates/register_4m_f4f.html
b/portal/templates/register_4m_f4f.html
index
131fdd4
..
b13196d
100644
(file)
--- a/
portal/templates/register_4m_f4f.html
+++ b/
portal/templates/register_4m_f4f.html
@@
-12,7
+12,13
@@
-
+{% if messages %}
+<ul class="messages">
+ {% for message in messages %}
+ <li{% if message.tags %} class="{{ message.tags }}"{% endif %}>{{ message }}</li>
+ {% endfor %}
+</ul>
+{% endif %}
<form class="cmxform" id="commentForm" method="post" action="" enctype="multipart/form-data" >
<form class="cmxform" id="commentForm" method="post" action="" enctype="multipart/form-data" >
@@
-55,7
+61,7
@@
</div>
<div class="field">
<label for="password">Confirm Password</label>
</div>
<div class="field">
<label for="password">Confirm Password</label>
- <input type="password" id="confirmpassword" name="confirmpassword" minlength="4" class="required" value=
"{{ form.field.value|default_if_none:"" }}"
/>
+ <input type="password" id="confirmpassword" name="confirmpassword" minlength="4" class="required" value=
'{{ form.field.value|default_if_none:"" }}'
/>
<p class="hint">Retype the password</p>
</div>
<div class="field">
<p class="hint">Retype the password</p>
</div>
<div class="field">
@@
-68,7
+74,7
@@
</div>
<div class="field" style="display:none;" id="upload_key">
<label for="file">Upload public key</label>
</div>
<div class="field" style="display:none;" id="upload_key">
<label for="file">Upload public key</label>
- <input type="file" name="user_public_key" id="user_public_key"/>
+ <input type="file" name="user_public_key"
class="required"
id="user_public_key"/>
<p class="hint">Upload a valid public key</p>
</div>
<div class="field">
<p class="hint">Upload a valid public key</p>
</div>
<div class="field">