func Components.Add()
{
    return <form hx-post="./add" hx-swap="outerHTML">
            <div class="field border fill">
            <input type="text" name="url">
            </div>
            <div class="row">
                <div class="max">
                    <div class="field label suffix border fill">
  <select name="res">
    <each(var item : Resolution.Resolutions)>
        <if(item.default)>
            <true>
                <option value={item.value} selected>{item.name}</option>
            </true>
            <false>
                <option value={item.value}>{item.name}</option>
            </false>
        </if>
    </each>
  </select>
  <label>Resolution</label>
  <i>arrow_drop_down</i>
</div>
                </div>

                <button name="action" value="add"><i>add</i></button>
                <button name="action" value="info"><i>info</i></button>
                <button name="action" value="download"><i>download</i></button>
                <button name="action" value="play"><i>play_arrow</i></button>
            </div>
    </form>;
}