<div ng-controller="amortizacoesController">
    <div class="modal-header">
        <h3>Atualizar Amortizações</h3>
    </div>
    <div class="modal-body">
        <div class="container-fluid">
            <form class="form-horizontal" role="form">
                <label>Ano</label>
                <br />
                <input type="text"
                       class="form-control"
                       ng-model="ano"
                       maxlength="4"
                       numbers-only
                       placeholder="" />
                <br />
                <div ng-show="mostrarMes()">
                    <label>Mês</label>
                    <br />
                    <select class="form-control" ng-init="carregarMeses()"
                            ng-model="selectedMes"
                            ng-options="e.NomeMes for e in lstMeses"></select>
                    <br />
                </div>

                <!--<div>
                    <label popover-placement="top" class="checkbox"
                           popover-trigger="mouseenter"
                           data-popover="{{strMax(selected.item.Nome,50)}}">
                        <input type="checkbox" ng-model="apenasBem"> <b>Apenas o Bem Selecionado</b>
                    </label>
                </div>-->
            </form>
        </div>
    </div>
    <div class="modal-footer">
        <button class="btn btn-primary" ng-click="gravarAmortizacoes(); ok()">Recalcular</button>
        <button class="btn btn-warning" ng-click="cancel()">Fechar</button>
    </div>
</div>
