<fieldset>
    <input type="text" name="shapes.{{@index}}.shape.type" value="{{shape.type}}" hidden>
    <legend class="shape-legend"><b>RECTANGLE</b></legend>
    <div class="form-group">
        <label>X</label>
        <div class="form-fields">
            <input name="shapes.{{@index}}.shape.x" type="text" value="{{shape.x}}"></input>
        </div>
    </div>
    <div class="form-group">
        <label>Y</label>
        <div class="form-fields">
            <input name="shapes.{{@index}}.shape.y" type="text" value="{{shape.y}}"></input>
        </div>
    </div>
    <div class="form-group">
        <label>Width</label>
        <div class="form-fields">
            <input name="shapes.{{@index}}.shape.width" type="text" value="{{shape.width}}"></input>
        </div>
    </div>
    <div class="form-group">
        <label>Height</label>
        <div class="form-fields">
            <input name="shapes.{{@index}}.shape.height" type="text" value="{{shape.height}}"></input>
        </div>
    </div>
    <div class="form-group">
        <label>Corner Radius</label>
        <div class="form-fields">
            <input name="shapes.{{@index}}.shape.radius" type="text" value="{{shape.radius}}"></input>
        </div>
    </div>
</fieldset>