Fix djlint problems

This commit is contained in:
2023-03-18 04:19:00 +01:00
parent ceff63e90d
commit 9377552d3b
2 changed files with 8 additions and 24 deletions

View File

@ -35,33 +35,25 @@
type="text" type="text"
class="form-control bg-dark border-dark text-muted" class="form-control bg-dark border-dark text-muted"
id="blacklist_title" id="blacklist_title"
value="{% if blacklist_title %} value="{%- if blacklist_title -%}{{ blacklist_title }}{%- endif -%}"/>
{{- blacklist_title -}}
{% endif %}"/>
<label for="blacklist_summary" class="col-sm-6 col-form-label">Blacklist - Summary</label> <label for="blacklist_summary" class="col-sm-6 col-form-label">Blacklist - Summary</label>
<input name="blacklist_summary" <input name="blacklist_summary"
type="text" type="text"
class="form-control bg-dark border-dark text-muted" class="form-control bg-dark border-dark text-muted"
id="blacklist_summary" id="blacklist_summary"
value="{% if blacklist_summary %} value="{%- if blacklist_summary -%}{{ blacklist_summary }}{%- endif -%}"/>
{{- blacklist_summary -}}
{% endif %}"/>
<label for="blacklist_content" class="col-sm-6 col-form-label">Blacklist - Content</label> <label for="blacklist_content" class="col-sm-6 col-form-label">Blacklist - Content</label>
<input name="blacklist_content" <input name="blacklist_content"
type="text" type="text"
class="form-control bg-dark border-dark text-muted" class="form-control bg-dark border-dark text-muted"
id="blacklist_content" id="blacklist_content"
value="{% if blacklist_content %} value="{%- if blacklist_content -%}{{ blacklist_content }}{%- endif -%}"/>
{{- blacklist_content -}}
{% endif %}"/>
<label for="blacklist_author" class="col-sm-6 col-form-label">Blacklist - Author</label> <label for="blacklist_author" class="col-sm-6 col-form-label">Blacklist - Author</label>
<input name="blacklist_author" <input name="blacklist_author"
type="text" type="text"
class="form-control bg-dark border-dark text-muted" class="form-control bg-dark border-dark text-muted"
id="blacklist_author" id="blacklist_author"
value="{% if blacklist_author %} value="{%- if blacklist_author -%}{{ blacklist_author }}{%- endif -%}"/>
{{- blacklist_author -}}
{% endif %}"/>
</div> </div>
</div> </div>
<!-- Add a hidden feed_url field to the form --> <!-- Add a hidden feed_url field to the form -->

View File

@ -35,33 +35,25 @@
type="text" type="text"
class="form-control bg-dark border-dark text-muted" class="form-control bg-dark border-dark text-muted"
id="whitelist_title" id="whitelist_title"
value="{% if whitelist_title %} value="{%- if whitelist_title -%}{{ whitelist_title }} {%- endif -%}"/>
{{- whitelist_title -}}
{% endif %}"/>
<label for="whitelist_summary" class="col-sm-6 col-form-label">Whitelist - Summary</label> <label for="whitelist_summary" class="col-sm-6 col-form-label">Whitelist - Summary</label>
<input name="whitelist_summary" <input name="whitelist_summary"
type="text" type="text"
class="form-control bg-dark border-dark text-muted" class="form-control bg-dark border-dark text-muted"
id="whitelist_summary" id="whitelist_summary"
value="{% if whitelist_summary %} value="{%- if whitelist_summary -%}{{ whitelist_summary }}{%- endif -%}"/>
{{- whitelist_summary -}}
{% endif %}"/>
<label for="whitelist_content" class="col-sm-6 col-form-label">Whitelist - Content</label> <label for="whitelist_content" class="col-sm-6 col-form-label">Whitelist - Content</label>
<input name="whitelist_content" <input name="whitelist_content"
type="text" type="text"
class="form-control bg-dark border-dark text-muted" class="form-control bg-dark border-dark text-muted"
id="whitelist_content" id="whitelist_content"
value="{% if whitelist_content %} value="{%- if whitelist_content -%}{{ whitelist_content }}{%- endif -%}"/>
{{- whitelist_content -}}
{% endif %}"/>
<label for="whitelist_author" class="col-sm-6 col-form-label">Whitelist - Author</label> <label for="whitelist_author" class="col-sm-6 col-form-label">Whitelist - Author</label>
<input name="whitelist_author" <input name="whitelist_author"
type="text" type="text"
class="form-control bg-dark border-dark text-muted" class="form-control bg-dark border-dark text-muted"
id="whitelist_author" id="whitelist_author"
value="{% if whitelist_author %} value="{%- if whitelist_author -%} {{ whitelist_author }} {%- endif -%}"/>
{{- whitelist_author -}}
{% endif %}"/>
</div> </div>
</div> </div>
<!-- Add a hidden feed_url field to the form --> <!-- Add a hidden feed_url field to the form -->