Cleanup quote usage in generic templates

This commit is contained in:
Roberto Rosario
2014-06-20 18:30:53 -04:00
parent ae5317ae83
commit 4df57139e9
20 changed files with 196 additions and 183 deletions

View File

@@ -1,5 +1,7 @@
{% extends "base.html" %}
{% extends 'base.html' %}
{% load i18n %}
{% block title %} :: {% blocktrans %}Insufficient permissions{% endblocktrans %}{% endblock %}
{% block content %}

View File

@@ -1,5 +1,7 @@
{% extends "base.html" %}
{% extends 'base.html' %}
{% load i18n %}
{% block title %} :: {% blocktrans %}Page not found{% endblocktrans %}{% endblock %}
{% block content %}

View File

@@ -7,12 +7,11 @@
<body>
<h1>Page unavailable</h1>
<p>Sorry, but the requested page is unavailable due to a
server problem.</p>
<p>Sorry, but the requested page is unavailable due to a server problem.</p>
<p>Administrators have been notified, so check back later.</p>
{% if request.sentry.id %}
<p>If you need assistance, you may reference this error as
<p>If you need assistance, you may reference this error as
<strong>{{ request.sentry.id }}</strong>.</p>
{% endif %}

View File

@@ -1,4 +1,5 @@
{% load i18n %}
{% if title %}
{{ title|capfirst }}
{% else %}

View File

@@ -1,15 +1,16 @@
{% extends "base.html" %}
{% load i18n %}
{% block title %} :: {% blocktrans %}Assign {{ title }} {{ object }}{% endblocktrans %}{% endblock %}
{% extends 'base.html' %}
{% load i18n %}
{% block title %} :: {% blocktrans %}Assign {{ title }} {{ object }}{% endblocktrans %}{% endblock %}
{% block content %}
<style>
#id_right_list,#id_left_list { min-width: 28em; min-height: 13em; }
</style>
<div class="content">
<div class="content">
<h2 class="title">{{ title|safe }}</h2>
<form method='POST' action='' id='assign_remove'>{% csrf_token %}
<input name='action' value='' type='hidden' />
<table>
@@ -30,12 +31,12 @@
<tr>
<td><button class="button" onclick='document.forms["assign_remove"].action.value="remove";document.forms["assign_remove"].submit();'>&lt;</button></td>
</tr>
</tbody>
</tbody>
</table>
</td>
<td>{{ form.right_list }}{{ form.right_list.errors }}</td>
</tr>
{{ form.media|safe }}
{{ form.media|safe }}
</tbody>
</table>
</form>

View File

@@ -1,6 +1,8 @@
{% extends "base.html" %}
{% extends 'base.html' %}
{% load i18n %}
{% block title %} :: {% trans "Confirm" %} {{ title }}{% endblock %}
{% block title %} :: {% trans 'Confirm' %} {{ title }}{% endblock %}
{% block sidebar %}
{% for subtemplate in subtemplates %}
@@ -9,28 +11,27 @@
{% endblock %}
{% block content %}
<div class="content">
<div class="content">
<h2 class="title">
{% if delete_view %}
{% trans "Confirm delete" %}
{% if delete_view %}
{% trans 'Confirm delete' %}
{% else %}
{% trans "Confirm" %}
{% trans 'Confirm' %}
{% endif %}
</h2>
<div class="inner">
<form action="" method="post" class="form login">{% csrf_token %}
{% if next %}
<input name="next" type="hidden" value="{{ next }}" />
{% endif %}
{% endif %}
{% if previous %}
<input name="previous" type="hidden" value="{{ previous }}" />
{% endif %}
{% endif %}
<div style="float: left; margin-right: 10px;">
<img style="margin-top: 12px;" src="{{ STATIC_URL }}images/icons/{{ form_icon|default:'question.png' }}" alt="{% trans 'form icon' %}" />
</div>
</div>
<div style="float: left; width: 90%;">
{% if title %}
<h3>{{ title }}</h3>
@@ -45,20 +46,19 @@
{% endif %}
<h4>{{ message }}</h4>
<div class="group navform wat-cf">
<div class="group navform wat-cf">
<button class="button" type="submit">
<img src="{{ STATIC_URL }}web_theme_media/images/icons/tick.png" alt="{% trans 'Yes' %}" /> {% trans "Yes" %}
<img src="{{ STATIC_URL }}web_theme_media/images/icons/tick.png" alt="{% trans 'Yes' %}" /> {% trans 'Yes' %}
</button>
{% if previous %}
<a href="#header" onclick='{% if previous %}window.location.replace("{{ previous }}");{% else %}history.go(-1);{% endif %}' class="button">
<img src="{{ STATIC_URL }}web_theme_media/images/icons/cross.png" alt="{% trans 'No' %}"/> {% trans "No" %}
<img src="{{ STATIC_URL }}web_theme_media/images/icons/cross.png" alt="{% trans 'No' %}"/> {% trans 'No' %}
</a>
{% endif %}
</div>
</div>
<div class="clear"></div>
</div>
<div class="clear"></div>
</form>
</div>
</div>

View File

@@ -1,8 +1,10 @@
{% extends "base.html" %}
{% extends 'base.html' %}
{% load i18n %}
{% load subtemplates_tags %}
{% block title %} :: {% with "true" as read_only %}{% include "calculate_form_title.html" %}{% endwith %}{% endblock %}
{% block title %} :: {% with 'true' as read_only %}{% include 'calculate_form_title.html' %}{% endwith %}{% endblock %}
{% block sidebar %}
{% for subtemplate in sidebar_subtemplates %}
@@ -12,7 +14,7 @@
{% endfor %}
{% for subtemplate in sidebar_subtemplates_list %}
{% with "true" as side_bar %}
{% with 'true' as side_bar %}
{% if subtemplate.form %}
{% render_subtemplate subtemplate.name subtemplate.context as rendered_subtemplate %}
{% with "true" as read_only %}
@@ -44,10 +46,10 @@
{% block content %}
{% if form %}
{% with "true" as read_only %}
{% with 'true' as read_only %}
<div class="">
<div class="generic_subform">
{% include "generic_form_subtemplate.html" %}
{% include 'generic_form_subtemplate.html' %}
</div>
</div>
{% if grid_clear or not grid %}
@@ -71,6 +73,5 @@
{% endif %}
{% endfor %}
</div>
{% endblock %}

View File

@@ -2,21 +2,20 @@
{% block stylesheets %}
<style type="text/css">
#subform form textarea,
#subform form textarea,
#subform form select option,
#subform form input,
#subform form select,
#subform form input,
#subform form select,
#subform form input { background: none; color: black; border: none; }
</style>
{% endblock %}
{% block content %}
{% if form %}
{% with "true" as read_only %}
{% with 'true' as read_only %}
<div class="generic_subform">
{% include "generic_form_subtemplate.html" %}
</div><!--end generic_subform-->
</div>
{% endwith %}
{% endif %}
{% endblock %}

View File

@@ -1,7 +1,8 @@
{% extends "base.html" %}
{% extends 'base.html' %}
{% load subtemplates_tags %}
{% block title %} :: {% include "calculate_form_title.html" %}{% endblock %}
{% block title %} :: {% include 'calculate_form_title.html' %}{% endblock %}
{% block sidebar %}
{% for subtemplate in sidebar_subtemplates_list %}
@@ -26,22 +27,22 @@
</div>
{% endif %}
<div class="container_12">
{% for subtemplate in subtemplates_list %}
<div class="grid_{{ subtemplate.grid|default:12 }}">
{% if subtemplate.form %}
{% render_subtemplate subtemplate.name subtemplate.context as rendered_subtemplate %}
<div class="generic_subform">
{{ rendered_subtemplate }}
</div>
{% else %}
{% render_subtemplate subtemplate.name subtemplate.context as rendered_subtemplate %}
{{ rendered_subtemplate }}
<div class="container_12">
{% for subtemplate in subtemplates_list %}
<div class="grid_{{ subtemplate.grid|default:12 }}">
{% if subtemplate.form %}
{% render_subtemplate subtemplate.name subtemplate.context as rendered_subtemplate %}
<div class="generic_subform">
{{ rendered_subtemplate }}
</div>
{% else %}
{% render_subtemplate subtemplate.name subtemplate.context as rendered_subtemplate %}
{{ rendered_subtemplate }}
{% endif %}
</div>
{% if subtemplate.grid_clear or not subtemplate.grid %}
<div class="clear"></div>
{% endif %}
</div>
{% if subtemplate.grid_clear or not subtemplate.grid %}
<div class="clear"></div>
{% endif %}
{% endfor %}
</div>
{% endfor %}
</div>
{% endblock %}

View File

@@ -1,6 +1,9 @@
{% load i18n %}
{% load styling %}
{{ form.media|safe }}
{{ form.media|safe }}
{% add_classes_to_form form %}
{% if form.non_field_errors %}
@@ -9,7 +12,7 @@
<div class="message error">
<p>{{ value }}</p>
</div>
{% endfor %}
{% endfor %}
</div>
{% endif %}
@@ -24,20 +27,20 @@
{{ field }}
{% if field.errors %}</div></div>{% endif %}
</td>
{% endfor %}
{% endfor %}
</tr>
{% else %}
{% for field in form.hidden_fields %}
{{ field }}
{% endfor %}
{% for field in form.visible_fields %}
<div class="group">
{% if field.errors %}<div class="fieldWithErrors">{% endif %}
<label class="label">{{ field.label_tag }}{% if field.field.required and not read_only and not form_hide_required_text %} ({% trans "required" %}){% endif %}</label>
{% if field.errors %}<span class="error">{% for error in field.errors %}{{ error }}{% if not forloop.last %} | {% endif %}{% endfor %}</span></div>{% endif %}
<label class="label">{{ field.label_tag }}{% if field.field.required and not read_only and not form_hide_required_text %} ({% trans 'required' %}){% endif %}</label>
{% if field.errors %}<span class="error">{% for error in field.errors %}{{ error }}{% if not forloop.last %} | {% endif %}{% endfor %}</span></div>{% endif %}
{{ field }}
{% if field.help_text %}<span class="description">{{ field.help_text }}</span>{% endif %}
</div>
{% endfor %}
{% endfor %}
{% endif %}

View File

@@ -1,14 +1,14 @@
{% load i18n %}
{% if side_bar %}
<div class="block">
<h3>
{% else %}
<div class="content">
<div class="content">
<h2 class="title">
{% endif %}
{% include "calculate_form_title.html" %}
{% include 'calculate_form_title.html' %}
{% if side_bar %}
</h3>
@@ -26,14 +26,14 @@
{% if step_field %}
<input type="hidden" name="{{ step_field }}" value="{{ step0 }}" />
{% endif %}
{% if submit_method != "GET" and submit_method != "get" %}
{% if submit_method != 'GET' and submit_method != 'get' %}
{% csrf_token %}
{% endif %}
{% if next %}
<input name="next" type="hidden" value="{{ next }}" />
{% endif %}
{% endif %}
{% if previous %}
<input name="previous" type="hidden" value="{{ previous }}" />
@@ -42,7 +42,7 @@
{% for hidden_field in hidden_fields %}
{{ hidden_field.as_hidden }}
{% endfor %}
{% if form.management_form %}
{% with form as formset %}
{{ formset.management_form }}
@@ -53,15 +53,15 @@
<tr>
{% for field in formset.forms.0.visible_fields %}
<th>
{{ field.label_tag }}{% if field.field.required and not read_only %} ({% trans "required" %}){% endif %}
{{ field.label_tag }}{% if field.field.required and not read_only %} ({% trans 'required' %}){% endif %}
</th>
{#{% if field.help_text %}<span class="description">{{ field.help_text }}</span>{% endif %}#}
{% endfor %}
{% endfor %}
</tr>
{% endif %}
{% for form in formset.forms %}
{% include "generic_form_instance.html" %}
{% include 'generic_form_instance.html' %}
{% endfor %}
{% if form_display_mode_table %}
</tbody>
@@ -69,7 +69,7 @@
{% endif %}
{% endwith %}
{% else %}
{% include "generic_form_instance.html" %}
{% include 'generic_form_instance.html' %}
{% endif %}
{% if not read_only %}
<div class="group navform wat-cf">
@@ -79,12 +79,12 @@
{% else %}
<img src="{{ STATIC_URL }}web_theme_media/images/icons/tick.png" alt="{% if submit_label %}{{ submit_label }}{% else %}{% if object %}{% trans 'Save' %}{% else %}{% trans 'Submit' %}{% endif %}{% endif %}" />
{% endif %}
{% if submit_label %}{{ submit_label }}{% else %}{% if object %}{% trans "Save" %}{% else %}{% trans "Submit" %}{% endif %}{% endif %}
{% if submit_label %}{{ submit_label }}{% else %}{% if object %}{% trans 'Save' %}{% else %}{% trans 'Submit' %}{% endif %}{% endif %}
</button>
{% if previous %}
<a href="#header" onclick='{% if previous %}window.location.replace("{{ previous }}");{% else %}history.go(-1);{% endif %}' class="button">
<img src="{{ STATIC_URL }}web_theme_media/images/icons/cross.png" alt="{% if cancel_label %}{{ cancel_label }}{% else %}{% trans 'Cancel' %}{% endif %}"/> {% if cancel_label %}{{ cancel_label }}{% else %}{% trans "Cancel" %}{% endif %}
<img src="{{ STATIC_URL }}web_theme_media/images/icons/cross.png" alt="{% if cancel_label %}{{ cancel_label }}{% else %}{% trans 'Cancel' %}{% endif %}"/> {% if cancel_label %}{{ cancel_label }}{% else %}{% trans 'Cancel' %}{% endif %}
</a>
{% endif %}
@@ -97,7 +97,7 @@
{% endif %}
</form>
{% if side_bar %}
</p></div><!--end content--></div><!--end block-->
</p></div></div>
{% else %}
</div></div>
{% endif %}

View File

@@ -1,10 +1,11 @@
{% extends "base.html" %}
{% extends 'base.html' %}
{% load i18n %}
{% load navigation_tags %}
{% load subtemplates_tags %}
{% block title %} :: {% blocktrans with title as title %}List of {{ title }}{% endblocktrans %}{% endblock %}
{#{% block secondary_links %}{{ secondary_links|safe }}{% endblock %}#}
{% block sidebar %}
{% for subtemplate in sidebar_subtemplates_list %}
@@ -22,7 +23,6 @@
{% endblock %}
{% block content %}
{% include "generic_list_subtemplate.html" %}
{% include 'generic_list_subtemplate.html' %}
{% endblock %}

View File

@@ -1,10 +1,11 @@
{% extends "base.html" %}
{% extends 'base.html' %}
{% load i18n %}
{% load navigation_tags %}
{% load subtemplates_tags %}
{% block title %} :: {% blocktrans with title as title %}List of {{ title }}{% endblocktrans %}{% endblock %}
{#{% block secondary_links %}{{ secondary_links|safe }}{% endblock %}#}
{% block sidebar %}
{% for subtemplate in sidebar_subtemplates_list %}
@@ -22,7 +23,6 @@
{% endblock %}
{% block content %}
{% include "generic_list_horizontal_subtemplate.html" %}
{% include 'generic_list_horizontal_subtemplate.html' %}
{% endblock %}

View File

@@ -1,4 +1,5 @@
{% load i18n %}
{% load attribute_tags %}
{% load pagination_tags %}
{% load navigation_tags %}
@@ -6,7 +7,7 @@
{% load variable_tags %}
{% load main_settings_tags %}
{% get_main_setting "DISABLE_ICONS" as disable_icons %}
{% get_main_setting 'DISABLE_ICONS' as disable_icons %}
{% if side_bar %}
<div class="block">
@@ -15,8 +16,8 @@
</h3>
<div class="content">
<p>
{% else %}
{% autopaginate object_list %}
{% else %}
{% autopaginate object_list %}
<div class="content">
<h2 class="title">
{% ifnotequal page_obj.paginator.num_pages 1 %}
@@ -29,75 +30,72 @@
<div class="inner">
{% endif %}
{#<form action="{% url 'multi_object_action_view' %}" class="form" method="get">#}
{% if object_list %}
{% if multi_select or multi_select_as_buttons %}
{% if multi_select_as_buttons %}
{% get_multi_item_links as multi_item_links %}
<div class="group navform wat-cf">
{% for link in multi_item_links %}
<button class="button" type="submit" name="action" value="{{ link.url }}">
{% if link.famfam and not disable_icons %}<span class="famfam active famfam-{{ link.famfam|default:'link' }}"></span>{% endif %}{{ link.text|capfirst }}
</button>
{% endfor %}
</div>
{% else %}
{% with "true" as form_hide_required_text %}
{% get_multi_item_links_form %}
{% endwith %}
<div class="group navform wat-cf">
<button class="button" type="submit" name="{{ form.prefix }}-submit">
<img src="{{ STATIC_URL }}web_theme_media/images/icons/tick.png" alt="{% if object %}{% trans 'Save' %}{% else %}{% trans 'Submit' %}{% endif %}" /> {% if object %}{% trans "Save" %}{% else %}{% trans "Submit" %}{% endif %}
</button>
</div>
{% endif %}
{% endif %}
{% endif %}
{% if scrollable_content %}
<div style="border: 1px solid; height: {{ scrollable_content_height }}; overflow: auto;">
{% if object_list %}
{% if multi_select or multi_select_as_buttons %}
{% if multi_select_as_buttons %}
{% get_multi_item_links as multi_item_links %}
<div class="group navform wat-cf">
{% for link in multi_item_links %}
<button class="button" type="submit" name="action" value="{{ link.url }}">
{% if link.famfam and not disable_icons %}<span class="famfam active famfam-{{ link.famfam|default:'link' }}"></span>{% endif %}{{ link.text|capfirst }}
</button>
{% endfor %}
</div>
{% else %}
{% with 'true' as form_hide_required_text %}
{% get_multi_item_links_form %}
{% endwith %}
<div class="group navform wat-cf">
<button class="button" type="submit" name="{{ form.prefix }}-submit">
<img src="{{ STATIC_URL }}web_theme_media/images/icons/tick.png" alt="{% if object %}{% trans 'Save' %}{% else %}{% trans 'Submit' %}{% endif %}" /> {% if object %}{% trans 'Save' %}{% else %}{% trans 'Submit' %}{% endif %}
</button>
</div>
{% endif %}
{% endif %}
{% endif %}
<div class="group navform wat-cf">
{% for object in object_list %}
{{ object }}
{% endfor %}
{% if scrollable_content %}
<div style="border: 1px solid; height: {{ scrollable_content_height }}; overflow: auto;">
{% endif %}
<div class="group navform wat-cf">
{% for object in object_list %}
{{ object }}
{% endfor %}
</div>
{% if scrollable_content %}
</div>
{% if scrollable_content %}
</div>
{% endif %}
{% if object_list %}
{% if multi_select or multi_select_as_buttons %}
{% if multi_select_as_buttons %}
{% get_multi_item_links as multi_item_links %}
<div class="group navform wat-cf">
{% for link in multi_item_links %}
<button class="button" type="submit" name="action" value="{{ link.url }}">
{% if link.famfam and not disable_icons %}<span class="famfam active famfam-{{ link.famfam|default:'link' }}"></span>{% endif %}{{ link.text|capfirst }}
</button>
{% endfor %}
</div>
{% else %}
{% with "true" as form_hide_required_text %}
{% get_multi_item_links_form %}
{% endwith %}
<div class="group navform wat-cf">
<button class="button" type="submit" name="{{ form.prefix }}-submit">
<img src="{{ STATIC_URL }}web_theme_media/images/icons/tick.png" alt="{% if object %}{% trans 'Save' %}{% else %}{% trans 'Submit' %}{% endif %}" /> {% if object %}{% trans "Save" %}{% else %}{% trans "Submit" %}{% endif %}
</button>
</div>
{% endif %}
{% endif %}
{% endif %}
{#</form>#}
{% endif %}
{% if object_list %}
{% if multi_select or multi_select_as_buttons %}
{% if multi_select_as_buttons %}
{% get_multi_item_links as multi_item_links %}
<div class="group navform wat-cf">
{% for link in multi_item_links %}
<button class="button" type="submit" name="action" value="{{ link.url }}">
{% if link.famfam and not disable_icons %}<span class="famfam active famfam-{{ link.famfam|default:'link' }}"></span>{% endif %}{{ link.text|capfirst }}
</button>
{% endfor %}
</div>
{% else %}
{% with 'true' as form_hide_required_text %}
{% get_multi_item_links_form %}
{% endwith %}
<div class="group navform wat-cf">
<button class="button" type="submit" name="{{ form.prefix }}-submit">
<img src="{{ STATIC_URL }}web_theme_media/images/icons/tick.png" alt="{% if object %}{% trans 'Save' %}{% else %}{% trans 'Submit' %}{% endif %}" /> {% if object %}{% trans 'Save' %}{% else %}{% trans 'Submit' %}{% endif %}
</button>
</div>
{% endif %}
{% endif %}
{% endif %}
{% paginate %}
{% if side_bar %}
</p>
{% endif %}
{% endif %}
</div>
</div>

View File

@@ -1,4 +1,5 @@
{% load i18n %}
{% load attribute_tags %}
{% load pagination_tags %}
{% load navigation_tags %}
@@ -7,7 +8,7 @@
{% load main_settings_tags %}
{% load multiselect_tags %}
{% get_main_setting "DISABLE_ICONS" as disable_icons %}
{% get_main_setting 'DISABLE_ICONS' as disable_icons %}
{% if side_bar %}
<div class="block">
@@ -44,12 +45,12 @@
{% endfor %}
</div>
{% else %}
{% with "true" as form_hide_required_text %}
{% with 'true' as form_hide_required_text %}
{% get_multi_item_links_form %}
{% endwith %}
<div class="group navform wat-cf">
<button class="button" type="submit" name="{{ form.prefix }}-submit">
<img src="{{ STATIC_URL }}web_theme_media/images/icons/tick.png" alt="{% if object %}{% trans 'Save' %}{% else %}{% trans 'Submit' %}{% endif %}" /> {% if object %}{% trans "Save" %}{% else %}{% trans "Submit" %}{% endif %}
<img src="{{ STATIC_URL }}web_theme_media/images/icons/tick.png" alt="{% if object %}{% trans 'Save' %}{% else %}{% trans 'Submit' %}{% endif %}" /> {% if object %}{% trans 'Save' %}{% else %}{% trans 'Submit' %}{% endif %}
</button>
</div>
{% endif %}
@@ -69,7 +70,7 @@
{% endif %}
{% if not hide_object %}
<th>{% trans "Identifier" %}</th>
<th>{% trans 'Identifier' %}</th>
{% endif %}
{% for column in extra_columns_preffixed %}
@@ -170,7 +171,7 @@
{% endfor %}
</div>
{% else %}
{% with "true" as form_hide_required_text %}
{% with 'true' as form_hide_required_text %}
{% get_multi_item_links_form %}
{% endwith %}
<div class="group navform wat-cf">

View File

@@ -1,6 +1,7 @@
{% extends "base.html" %}
{% extends 'base.html' %}
{% block title %} :: {{ title|capfirst }}{% endblock %}
{% block content %}
{% include "generic_subtemplate.html" %}
{% include 'generic_subtemplate.html' %}
{% endblock %}

View File

@@ -1,16 +1,19 @@
{% extends "base.html" %}
{% extends 'base.html' %}
{% load i18n %}
{% load styling %}
{% add_classes_to_form form %}
{% block content %}
{% with step_title as title %}
{% with previous_fields as hidden_fields %}
{% if form.management_form %}
{% with "true" as form_display_mode_table %}
{% include "generic_form_subtemplate.html" %}
{% with 'true' as form_display_mode_table %}
{% include 'generic_form_subtemplate.html' %}
{% endwith %}
{% else %}
{% include "generic_form_subtemplate.html" %}
{% include 'generic_form_subtemplate.html' %}
{% endif %}
{% endwith %}
{% endwith %}

View File

@@ -1,6 +1,8 @@
{% extends "web_theme_login.html" %}
{% extends 'web_theme_login.html' %}
{% load i18n %}
{% load project_tags %}
{% block html_title %}{% project_name %} :: {% trans "Login" %}{% endblock %}
{% block html_title %}{% project_name %} :: {% trans 'Login' %}{% endblock %}
{% block project_name %}{% project_name %}{% endblock %}

View File

@@ -1,6 +1,9 @@
{% extends "base.html" %}
{% extends 'base.html' %}
{% load i18n %}
{% block title %} :: {% trans "Password change" %}{% endblock %}
{% block title %} :: {% trans 'Password change' %}{% endblock %}
{% block content %}
<h2>{% trans "Your password has been successfully changed." %}</h2>
<h2>{% trans 'Your password has been successfully changed.' %}</h2>
{% endblock %}

View File

@@ -1,11 +1,7 @@
{% extends "generic_form.html" %}
{% extends 'generic_form.html' %}
{% load i18n %}
{% block title %} :: {% trans "Password change" %}{% endblock %}
{% block form_title %}{% trans "Password change" %}{% endblock %}
{% block title %} :: {% trans 'Password change' %}{% endblock %}
{% block form_title %}{% trans 'Password change' %}{% endblock %}