Skip to content
Snippets Groups Projects
Commit 47cabb0c authored by Roang's avatar Roang
Browse files

Fix H014 djLing rule

No extra blank lines
parent 35612101
Branches
Tags
No related merge requests found
Showing
with 0 additions and 16 deletions
{% load django_bootstrap5 %} {% load django_bootstrap5 %}
{% load i18n %} {% load i18n %}
<div class="card-header bg-default">{% trans 'Links' %}</div> <div class="card-header bg-default">{% trans 'Links' %}</div>
<ul class="list-group list-group-flush"> <ul class="list-group list-group-flush">
{% csrf_token %} {% csrf_token %}
......
...@@ -119,5 +119,4 @@ ...@@ -119,5 +119,4 @@
</div> </div>
</div> </div>
{% endblock %} {% endblock %}
...@@ -23,7 +23,6 @@ $(function() { ...@@ -23,7 +23,6 @@ $(function() {
</script> </script>
{% endblock %} {% endblock %}
{% block content %} {% block content %}
<div class="card mt-3"> <div class="card mt-3">
...@@ -39,7 +38,6 @@ $(function() { ...@@ -39,7 +38,6 @@ $(function() {
<span class="col-sm-10">{{ object.assembly.slug }} <span class="text-muted">{{ object.assembly.name }}</span></span> <span class="col-sm-10">{{ object.assembly.slug }} <span class="text-muted">{{ object.assembly.name }}</span></span>
</div> </div>
<div class="row mb-3"> <div class="row mb-3">
<span class="col-sm-2">Name</span> <span class="col-sm-2">Name</span>
<span class="col-sm-10">{{ object.name }}</span> <span class="col-sm-10">{{ object.name }}</span>
......
...@@ -42,7 +42,6 @@ ...@@ -42,7 +42,6 @@
</script> </script>
{% endblock %} {% endblock %}
{% block content %} {% block content %}
{% if object_list is not None %} {% if object_list is not None %}
......
...@@ -11,7 +11,6 @@ ...@@ -11,7 +11,6 @@
{% csrf_token %} {% csrf_token %}
</form> </form>
<form action="{% url 'backoffice:wiki-page-detail' pk=object.pk %}" <form action="{% url 'backoffice:wiki-page-detail' pk=object.pk %}"
method="POST"> method="POST">
{% csrf_token %} {% csrf_token %}
...@@ -78,7 +77,6 @@ ...@@ -78,7 +77,6 @@
</div> </div>
</form> </form>
{% if object.public_revision > 0 %} {% if object.public_revision > 0 %}
<div class="card mt-3"> <div class="card mt-3">
<div class="card-header"> <div class="card-header">
......
{% import "plainui/components/tile_board.html.j2" as tileBoardMacro with context %} {% import "plainui/components/tile_board.html.j2" as tileBoardMacro with context %}
{% import "plainui/components/nav.html.j2" as navMacro with context %} {% import "plainui/components/nav.html.j2" as navMacro with context %}
{% extends "plainui/base.html.j2" %} {% extends "plainui/base.html.j2" %}
{% block title %} {% block title %}
{{ conf.name }} - {{ conf.name }} -
......
...@@ -47,7 +47,6 @@ ...@@ -47,7 +47,6 @@
} %} } %}
{% set rooms = [ room1, room2 ] %} {% set rooms = [ room1, room2 ] %}
{% block content %} {% block content %}
<h1 class="my-5">Components Gallery</h1> <h1 class="my-5">Components Gallery</h1>
......
...@@ -1286,6 +1286,4 @@ ...@@ -1286,6 +1286,4 @@
{% endif %} {% endif %}
{% endif %} {% endif %}
{%- endmacro %} {%- endmacro %}
...@@ -88,7 +88,6 @@ ...@@ -88,7 +88,6 @@
</div> </div>
{% endif %} {% endif %}
<div class="hub-tags"> <div class="hub-tags">
{{ eventMacro.recorded_tag(event.is_recorded) }} {{ eventMacro.recorded_tag(event.is_recorded) }}
......
...@@ -45,7 +45,6 @@ ...@@ -45,7 +45,6 @@
{% if my_fahrplan %}<input type="hidden" name="my" value="y">{% endif %} {% if my_fahrplan %}<input type="hidden" name="my" value="y">{% endif %}
{% if is_recorded is not none %}<input type="hidden" name="rec" value="{{'y' if is_recorded else 'n'}}">{% endif %} {% if is_recorded is not none %}<input type="hidden" name="rec" value="{{'y' if is_recorded else 'n'}}">{% endif %}
<div class="d-flex gap-3 flex-column flex-md-row align-items-start hub-fahrplan__title mb-2"> <div class="d-flex gap-3 flex-column flex-md-row align-items-start hub-fahrplan__title mb-2">
<div> <div>
<button type="submit" <button type="submit"
......
{% extends "plainui/base.html.j2" %} {% extends "plainui/base.html.j2" %}
{% import "plainui/components/form_elements.html.j2" as form_elements %} {% import "plainui/components/form_elements.html.j2" as form_elements %}
{% block title %}{{ conf.name }} - {{ _("Profile") }}{% endblock %} {% block title %}{{ conf.name }} - {{ _("Profile") }}{% endblock %}
{% block content %} {% block content %}
{{ titleMacro.title(_("Redeem Badge Token") ) }} {{ titleMacro.title(_("Redeem Badge Token") ) }}
<div class="row my-5 p-6"> <div class="row my-5 p-6">
......
...@@ -26,7 +26,6 @@ ...@@ -26,7 +26,6 @@
{{ formElementsMacro.password(form, 'password2') }} {{ formElementsMacro.password(form, 'password2') }}
{{ formElementsMacro.input(form, 'email', 'email') }} {{ formElementsMacro.input(form, 'email', 'email') }}
<ul class="d-flex flex-column flex-sm-row justify-content-center list-unstyled mb-0"> <ul class="d-flex flex-column flex-sm-row justify-content-center list-unstyled mb-0">
<li class="mx-2"> <li class="mx-2">
<button type="submit" class="btn btn-block btn-primary" form="registration">{{ _("Create Account") }}</button> <button type="submit" class="btn btn-block btn-primary" form="registration">{{ _("Create Account") }}</button>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment