<form class="grid grid-cols-6 gap-y-4">

    <div class="col-span-6">
        <h4>checkbox</h4>
        <div class="flex items-center pb-2">
            <input type="checkbox" id="foo" checked>

            <label for="foo">
                check box 1
            </label>

        </div>

        <div class="flex items-center pb-2">
            <input type="checkbox" id="bar" checked>

            <label for="bar">
                check box 2
            </label>

        </div>
    </div>

    <div class="col-span-6">
        <label for="text">
            Text field
        </label>

        <input type="text" id="text">

    </div>

    <div class="col-span-6">
        <label for="select">
            Select
        </label>

        <select name="select" id="select">
            <option selected>selected</option>

            <option label="This is a title for an item">This is a title for an item</option>

            <option label="This is sanother title for another item">This is sanother title for another item</option>

            <option label="This is a third title">This is a third title</option>

        </select>

    </div>

    <div class="col-span-6">
        <label for="textarea">
            Text area
        </label>

        <textarea id="textarea">
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
</textarea>

    </div>

    <div class="">
        <h4>Radio</h4>
        <div class="flex items-center ">
            <input type="radio" name="radio" id="radio1" checked>

            <label for="radio1">
                radio 1
            </label>

        </div>

        <div class="flex items-center ">
            <input type="radio" name="radio" id="radio2">

            <label for="radio2">
                radio 2
            </label>

        </div>
    </div>

    <div class="col-span-6 center">
        <button>
            Button

        </button>

    </div>

</form>
<form class="grid grid-cols-6 gap-y-4">

<div class="col-span-6">
  <h4>checkbox</h4>
  <div class="flex items-center pb-2">
    {% render '@checkbox', {id: 'foo', state: 'checked'}, true %}
    {% render '@label', {title: 'check box 1',id:'foo' }, true %}
  </div>

  <div class="flex items-center pb-2">
    {% render '@checkbox', {id: 'bar', state: 'checked'}, true %}
    {% render '@label', {title: 'check box 2',id:'bar'}, true %}
  </div>
</div>


<div class="col-span-6">
  {% render '@label', {title: 'Text field',id:'text'}, true %}
  {% render "@input", {type: 'text', id:'text'}, true %}
</div>


<div class="col-span-6">
  {% render '@label', {title: 'Select',id:'select'}, true %}
  {% render "@select" %}
</div>


<div class="col-span-6">
  {% render '@label', {title: 'Text area',id:'textarea'}, true %}
    {% render "@textarea", {id:'textarea'}, true %}
</div>


<div class="">
  <h4>Radio</h4>
  <div class="flex items-center ">
    {% render '@radio', {id: 'radio1', name: "radio", state: 'checked'}, true %}
    {% render '@label', {title: 'radio 1',id:'radio1'}, true %}
  </div>

  <div class="flex items-center ">
    {% render '@radio', {id: 'radio2', name: "radio" }, true %}
    {% render '@label', {title: 'radio 2',id:'radio2'}, true %}
  </div>
</div>


<div class="col-span-6 center">
{% include "@button" %}
</div>


</form>
{
  "label": "Lorem ipsum",
  "title": "Lorem ipsum dolor sit amet",
  "titlelong": "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor",
  "text": "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",
  "date": "2. januar 2018",
  "data-small": "05/08/2019",
  "user": "Steve Jobs",
  "email": "steve@apple.com",
  "url": "https://thememachine.io",
  "streetaddress": "RÃ¥dhuspladsen 1",
  "zip": 1321,
  "city": "kbh",
  "phone": "+45 12 13 14 15",
  "labeltext": "Label",
  "linktext": "Click !",
  "items": [
    {
      "item": null,
      "title": "This is a title for an item",
      "url": "https://test.dk",
      "text": "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod"
    },
    {
      "item": null,
      "title": "This is sanother title for another item",
      "url": "https://test.dk",
      "text": "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod"
    },
    {
      "item": null,
      "title": "This is a third title",
      "url": "https://test.dk",
      "text": "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod"
    }
  ]
}

No notes defined.