mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-15 08:50:45 -07:00
working with default parsing for args
This commit is contained in:
@@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user