working with default parsing for args

This commit is contained in:
Josh Faigan
2024-09-27 12:29:03 -04:00
parent 30ea917a38
commit 98a69c80ef
4 changed files with 59 additions and 7 deletions
+11 -4
View File
@@ -36,8 +36,14 @@
{% # Snippet input %}
{% snippet "input" %}
<label>User:</label>
<input />
<div>
<label>{{ label }}</label>
<input type={{ type }}>
</div>
{% endsnippet %}
{% snippet "league" %}
<h1>Welcome to the {{ team }} of super {{ name }}</h1>
{% endsnippet %}
@@ -48,8 +54,9 @@
</marquee>
{% endsnippet %}
{% render 'input' %}
{% render 'input' %}
{% render 'league', team: "league", name: "Evil" %}
{% render 'input', label: "User", type: "text" %}
{% render 'input', label: "Pass", type: "password" %}
{% render 'banner' %}
{% endsnippet %}