Normalize quote used in {% include %}

Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com>
This commit is contained in:
Roberto Rosario
2019-12-12 19:32:26 -04:00
parent 3c5811dacb
commit a8562ef2e7
5 changed files with 6 additions and 6 deletions

View File

@@ -1,2 +1,2 @@
<pre name="{{ widget.name }}" {% include "django/forms/widgets/attrs.html" %}>
<pre name="{{ widget.name }}" {% include 'django/forms/widgets/attrs.html' %}>
{% if widget.value %}{{ widget.value }}{% endif %}</pre>

View File

@@ -6,7 +6,7 @@
{% block content %}
{% if form %}
{% with '' as title %}
{% include "appearance/generic_form_subtemplate.html" %}
{% include 'appearance/generic_form_subtemplate.html' %}
{% endwith %}
{% endif %}

View File

@@ -11,7 +11,7 @@
{% include 'appearance/no_results.html' %}
</div>
{% else %}
{% include "appearance/list_header.html" %}
{% include 'appearance/list_header.html' %}
{% navigation_resolve_menu name='multi item' sort_results=True source=object_list.0 as links_multi_menus_results %}
<div class="well center-block">
<div class="row row-items">
@@ -22,7 +22,7 @@
<div class="form-group">
<div class="checkbox">
<label for="id_indexes_0" style="cursor: auto;">
{% if links_multi_menus_results %}
{% if links_multi_menus_results and not hide_multi_item_actions %}
<input class="form-multi-object-action-checkbox check-all-slave checkbox" name="pk_{{ object.pk }}" style="cursor: pointer;" type="checkbox" />
{% endif %}

View File

@@ -12,7 +12,7 @@
{% include 'appearance/no_results.html' %}
</div>
{% else %}
{% include "appearance/list_header.html" %}
{% include 'appearance/list_header.html' %}
{% navigation_resolve_menu name='multi item' sort_results=True source=object_list.0 as links_multi_menus_results %}
<div class="well center-block">
<div class="table-responsive">

View File

@@ -1,3 +1,3 @@
{% load i18n %}
<img alt="{% trans 'Workflow preview' %}" class="img-responsive" name="{{ widget.name }}" {% include "django/forms/widgets/attrs.html" %} src="{{ widget.value.get_api_image_url }}" style="margin:auto;" />
<img alt="{% trans 'Workflow preview' %}" class="img-responsive" name="{{ widget.name }}" {% include 'django/forms/widgets/attrs.html' %} src="{{ widget.value.get_api_image_url }}" style="margin:auto;" />