Correctly format all templates
This commit is contained in:
parent
220a4e2451
commit
56f2c96b45
|
@ -1,6 +1,5 @@
|
|||
{% extends "base.html" %}
|
||||
{% load static %}
|
||||
{% load hy %}
|
||||
{% block content %}
|
||||
<script src="{% static 'js/chart.js' %}"></script>
|
||||
<script>
|
||||
|
@ -105,7 +104,7 @@
|
|||
<div class="column is-3">
|
||||
<div class="nowrap-parent">
|
||||
<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">
|
||||
Options
|
||||
</div>
|
||||
|
@ -203,7 +202,7 @@
|
|||
|
||||
<label class="checkbox">
|
||||
<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
|
||||
</label>
|
||||
</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