1
0

Initial commit

This commit is contained in:
2020-09-10 13:20:55 +02:00
commit 00fec096cb
19 changed files with 463 additions and 0 deletions
+30
View File
@@ -0,0 +1,30 @@
{% extends "views/@base" %}
{% macro dependency(dependency) %}
<label>
<input name="{{ dependency.name }}" type="checkbox"{% if dependency.default %} checked{% endif %}>
<span>{{ dependency.name }}</span>
</label>
{% endmacro %}
{% macro input(input) %}
<label>
<span>{{ input.name }}</span>
<input name="{{ input.name }}" type="text"{% if input.value %} value="{{ input.value }}"{% endif %}>
</label>
{% endmacro %}
{% block content %}
<h1>Kotlin Starter</h1>
<form method="post">
{% for input in inputs %}
{{ input(input) }}
{% endfor %}
<br>
{% for dependency in dependencies %}
{{ dependency(dependency) }}
{% endfor %}
<br>
<button type="submit">Submit</button>
</form>
{% endblock %}