Skip to content

Commit

Permalink
lint templates
Browse files Browse the repository at this point in the history
  • Loading branch information
norkans7 committed Aug 18, 2023
1 parent 54bf4ea commit 26c13ff
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions dash/dashblocks/templates/dashblocks/dashblock_list.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,26 +9,26 @@
class="form-control">
{% if filtered_type.id == type.id %}
<option value="0">-----</option>
{% else %}
<option value="0">-----"</option>
{% endif %}
{% for type in types %}
{% if filtered_type.id == type.id %}
<option value="={ type.id }">{{ type.name }}</option>
{% else %}
<option value="0">-----"</option>
<option value="={ type.id }">{{ type.name }}</option>
{% endif %}
{% for type in types %}
{% if filtered_type.id == type.id %}
<option value="={ type.id }">{{ type.name }}</option>
{% else %}
<option value="={ type.id }">{{ type.name }}</option>
{% endif %}
{% endfor %}
</select>
{% else %}
<input type="hidden" name="type" value="{{ filtered_type.id }}">
{% endif %}
<input type="text"
name="search"
value="={ search }"
class="input-medium search-query form-control">
<button type="submit" class="btn btn-default">{% trans "Search" %}</button>
</form>
{% endfor %}
</select>
{% else %}
<input type="hidden" name="type" value="{{ filtered_type.id }}">
{% endif %}
<input type="text"
name="search"
value="={ search }"
class="input-medium search-query form-control">
<button type="submit" class="btn btn-default">{% trans "Search" %}</button>
</form>
{% endblock search-form %}
{% block table-buttons %}
<div class="pull-right">
Expand Down

0 comments on commit 26c13ff

Please sign in to comment.