<div class="form-field ">
<label class="label " for="">
Search label
</label>
<input class="input " type="search" name="search-input" id="search-id" placeholder="Search ..." />
</div>
{{#embed "@form-field" }}
{{#content "content"}}
{{> @input--search input}}
{{/content}}
{{/embed}}
{
"label": {
"text": "Search label",
"input-id": "search-id"
},
"input": {
"type": "search",
"name": "search-input",
"id": "search-id",
"placeholder": "Search ..."
}
}
.form-field {
&__label {
display: block;
margin-bottom: 5px;
}
& + .form-field {
margin-top: 20px;
}
& + .button {
margin-top: 20px;
align-self: flex-start;
}
}
There are no notes for this item.