Correctly format all templates
This commit is contained in:
parent
220a4e2451
commit
56f2c96b45
|
@ -1,6 +1,5 @@
|
||||||
{% extends "base.html" %}
|
{% extends "base.html" %}
|
||||||
{% load static %}
|
{% load static %}
|
||||||
{% load hy %}
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<script src="{% static 'js/chart.js' %}"></script>
|
<script src="{% static 'js/chart.js' %}"></script>
|
||||||
<script>
|
<script>
|
||||||
|
@ -105,7 +104,7 @@
|
||||||
<div class="column is-3">
|
<div class="column is-3">
|
||||||
<div class="nowrap-parent">
|
<div class="nowrap-parent">
|
||||||
<div
|
<div
|
||||||
{{ hy }} = "on click toggle .is-hidden on #options"
|
data-script="on click toggle .is-hidden on #options"
|
||||||
class="button is-light has-text-link is-right nowrap-child">
|
class="button is-light has-text-link is-right nowrap-child">
|
||||||
Options
|
Options
|
||||||
</div>
|
</div>
|
||||||
|
@ -203,7 +202,7 @@
|
||||||
|
|
||||||
<label class="checkbox">
|
<label class="checkbox">
|
||||||
<input type="checkbox" name="check-sentiment"
|
<input type="checkbox" name="check-sentiment"
|
||||||
_="on click toggle @disabled on #sliderWithValue then toggle @disabled on #sentiment">
|
data-script="on click toggle @disabled on #sliderWithValue then toggle @disabled on #sentiment">
|
||||||
Check sentiment
|
Check sentiment
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,8 +0,0 @@
|
||||||
from django import template
|
|
||||||
|
|
||||||
register = template.Library()
|
|
||||||
|
|
||||||
# Dirty hack to workaround curlylint not allowing _
|
|
||||||
@register.filter
|
|
||||||
def hy(user, plan_name):
|
|
||||||
return "_"
|
|
Loading…
Reference in New Issue