diff options
Diffstat (limited to 'atoideweb/controllers/templates/_helpers.html')
-rw-r--r-- | atoideweb/controllers/templates/_helpers.html | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/atoideweb/controllers/templates/_helpers.html b/atoideweb/controllers/templates/_helpers.html deleted file mode 100644 index c99703c..0000000 --- a/atoideweb/controllers/templates/_helpers.html +++ /dev/null @@ -1,14 +0,0 @@ -{% macro link_to(text, endpoint) -%} - <a href="{{ url_for(endpoint, **kwargs) }}">{{ text }}</a> -{%- endmacro %} - -{% macro options(_, name, option_list, current) -%} - <div class='{{ name }}'> - <h1>{{ _(name) }}</h1> - <form name='{{ name }}' action='/config/{{ name }}' method="post"> - {% for opt in option_list %} - <input type='radio' name='{{ name }}' value='{{ opt }}' {% if opt == current %}checked{% endif %} />{{ _(opt) }}<br /> - {% endfor %} - </form> - </div> -{%- endmacro %} |