Make show-password-js work for change password too
[mediagoblin.git] / mediagoblin / templates / mediagoblin / utils / profile.html
index b3f5f0f8dd4eebfe1920b81c8fd1f94675929089..9a134e5fb07e5972515f3aa396966639085fa3e3 100644 (file)
@@ -1,6 +1,6 @@
 {#
 # GNU MediaGoblin -- federated, autonomous media hosting
-# Copyright (C) 2011 Free Software Foundation, Inc
+# Copyright (C) 2011 MediaGoblin contributors.  See AUTHORS.
 #
 # This program is free software: you can redistribute it and/or modify
 # it under the terms of the GNU Affero General Public License as published by
 #}
 
 {% block profile_content -%}
-  <div>
-    <ul>
-      {% if user.url %}
-          <li>
-            <a href="{{ user.url }}">homepage</a>
-          </li>
-      {%  endif %}
-      
-      {% if user.bio %}
-          <li>
-            {{ user.bio }}
-          </li>
-      {%  endif %}
-    </ul>
-  </div>
-{% endblock %}    
+  {% if user.bio %}
+    {% autoescape False %}
+      <p>{{ user.bio_html }}</p>
+    {% endautoescape %}
+  {% endif %}
+  {% if user.url %}
+    <p>
+      <a href="{{ user.url }}">{{ user.url }}</a>
+    </p>
+  {% endif %}
+{% endblock %}