Top Menue Updated + /portal/register improved
[myslice.git] / portal / templates / register_4m_f4f.html
index 131fdd4..b13196d 100644 (file)
 
 
 
-
+{% 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" >
@@ -55,7 +61,7 @@
    </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">
@@ -68,7 +74,7 @@
    </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">