<div class="targetLine_SetupControl">
    <div class="se-gadget-setup">
        <input type="button" class="buttonAddTargetLine" value="<%loc Gadgets.TargetLineControl_Add %>" title="<%loc Gadgets.TargetLineControl_Add %>" />
        <div class="clear"></div>
       <div class="tagetLineEntries content-wrapper"></div>
    </div>
</div>

<script type="text/template" class="targetLineEntryTemplate">
    <div class="targetLineEntry">
        <div class="inline-control">
            <label><%loc Gadgets.TargetLineControl_Type %></label>
            <div class="clear"></div>
            <select name="TargetLineType" class="targetLineType se-gadget-setup-select">
                <option value="0"><%loc Gadgets.TargetLineControl_Type_Fixed %></option>
                <option value="1"><%loc Gadgets.TargetLineControl_Type_Rate %></option>
            </select>
        </div>

        <div class="inline-control">
            <input id="setup-control-TargetLineValue-input" type="text" class="se-gadget-setup-input targetLineValue" maxlength="20" name="TargetLineValue">
        </div>

        <div class="inline-control">
            <div class="targetLineSpacer targetLineColorSelect"></div>
        </div>

        <div class="inline-control">
            <label for="setup-control-TargetLineLabel-input"><%loc Gadgets.TargetLineControl_Label %></label>
            <div class="clear"></div>
            <input id="setup-control-TargetLineLabel-input" type="text" class="se-gadget-setup-input targetLineLabel" maxlength="100" name="TargetLineLabel" value="<%- TargetLineLabel %>">
        </div>

        <div class="inline-control">
            <label><%loc Gadgets.TargetLineControl_PlotOn %></label>
            <div class="clear"></div>
            <select name="TargetLineLocation" class="targetLineLocation se-gadget-setup-select">
                <option value="left"><%loc Gadgets.TargetLineControl_PlotOn_LeftAxis %></option>
                <option value="right"><%loc Gadgets.TargetLineControl_PlotOn_RightAxis %></option>
            </select>
        </div>

        <div class="inline-control">
            <div class="targetLineSpacer"></div>
            <div class="buttonRemoveTargetLine fakeButton" title="<%loc Gadgets.TargetLineControl_Remove %>">
                <div class="removeTargetLineImg icon-delete-16"></div>
            </div>
        </div>
        <div class="clear"></div>
    </div>
</script>