# HG changeset patch # User Atul Varma # Date 1208400515 25200 # Node ID 7a6e0966068a8b6ac5c11d48b4075a6daaabd746 # Parent 5c91a9084890252bce0cc13c2af0806c75731b67 Added headers to the individual sections of the persona creation/editing form to make them easier to read. Slightly modified help text of individual fields. diff -r 5c91a9084890 -r 7a6e0966068a media/css/otherpages.css --- a/media/css/otherpages.css Wed Apr 16 19:24:19 2008 -0700 +++ b/media/css/otherpages.css Wed Apr 16 19:48:35 2008 -0700 @@ -191,3 +191,10 @@ .persona-developer-agreement { font-size: 12px; } + +.form-section { + background-color: #eeeeee; + padding: 4px; + margin: 8px 0px 8px 0px; + font-size: 18px; +} diff -r 5c91a9084890 -r 7a6e0966068a personasbackend/personas/models.py --- a/personasbackend/personas/models.py Wed Apr 16 19:24:19 2008 -0700 +++ b/personasbackend/personas/models.py Wed Apr 16 19:48:35 2008 -0700 @@ -385,7 +385,7 @@ url = models.URLField( "Dynamic Persona URL", help_text=( - "Advanced: Specifies a URL for the content that will " + "Optional. Specifies a URL for the content that will " "provide " "dynamic content to be placed behind the browser chrome. " "If you don't know what this means, you can leave the field " diff -r 5c91a9084890 -r 7a6e0966068a personasbackend/personas/templates/personas/edit.html --- a/personasbackend/personas/templates/personas/edit.html Wed Apr 16 19:24:19 2008 -0700 +++ b/personasbackend/personas/templates/personas/edit.html Wed Apr 16 19:48:35 2008 -0700 @@ -24,6 +24,7 @@ {% endif %} + {% with form.name as field %} {% include "personas/form_row.html" %} {% endwith %} @@ -44,6 +45,8 @@ {% include "personas/form_row.html" %} {% endwith %} + + {% with form.url as field %} {% include "personas/form_row.html" %} {% endwith %} @@ -56,11 +59,16 @@ {% include "personas/form_row.html" %} {% endwith %} + {% if form.status %} + {% with form.status as field %} {% include "personas/form_row.html" %} {% endwith %} + {% endif %} + {% if form.agree_to_terms %} - + {% endif %} +
{{ form.non_field_errors }}
Basic Settings
Advanced Settings
Administrative Settings
+
Developer Agreement
{{ form.agree_to_terms.help_text|safe }}

@@ -69,7 +77,8 @@