Change position of "Delete account" link, put it below the form
authorJef van Schendel <mail@jefvanschendel.nl>
Thu, 17 Jan 2013 12:35:45 +0000 (13:35 +0100)
committerJef van Schendel <mail@jefvanschendel.nl>
Thu, 17 Jan 2013 12:35:45 +0000 (13:35 +0100)
mediagoblin/static/css/base.css
mediagoblin/templates/mediagoblin/edit/edit_account.html

index 2085cfc93ea28a9626ab97616a9cca527bdf13a1..81a90615075afb139895248d2330fab5df79ebf3 100644 (file)
@@ -331,6 +331,12 @@ textarea#description, textarea#bio {
   height: 100px;
 }
 
+.delete {
+  margin-top: 36px;
+  display: block;
+  text-align: center;
+}
+
 /* comments */
 
 .comment_wrapper {
index e42a2207618f269919825b5a04434b26eecc3771..cfeb72816d540903f36ceaf763236d2112157f25 100644 (file)
         <input type="submit" value="{% trans %}Save changes{% endtrans %}" class="button_form" />
        {{ csrf_token }}
       </div>
-      <ul>
-        <li>
-          <a href="{{request.urlgen('mediagoblin.edit.delete_account')
-                   }}">Delete my account and all related media</a>
-        </li>
-      </ul>
     </div>
   </form>
+  <div class="delete">
+    <a href="{{request.urlgen('mediagoblin.edit.delete_account')
+             }}">Delete my account</a>
+  </div>
 {% endblock %}