<div class="{{ class }} ">
    <label>{{ label }}</label>

    <select name="{{ idName }}" id="{{ idName }}" class="form-control">
        <option value=""    >__Select serie__</option>
        {% for serie in series %}
            <option value="{{ serie.serieId }}"  {{  serie.serieId==value ? 'selected' : '' }}  >{{ serie.name }}
            </option>
        {% endfor %}

    </select>

    <button type="button" id="modal-{{ idName }}" class="btn btn-xs" aria-label="Right Align"
            data-moussabind="moussajax.moussaModal"
            data-width="500"
            data-title="New serie"
            data-url="{{ R.url('_Intranet_WorkAjaxeditSerie',{'context' : 'Intranet',param: [valueArtist] }) }}"

            >
        <span class="glyphicon glyphicon-plus" aria-hidden="true"></span> New {{ label }}
    </button>
</div>
<script type="text/html" id="btn-supress-serie">

    <span class="glyphicon glyphicon-trash delSerie" aria-hidden="true"
          data-moussabind="moussajax.moussaConfirm"
          data-content="You're about to delete that serie, confirm?"
          data-title="Delete serie"
          style="float:right"
    ></span>

</script>