<div ng-controller="ClassificacaoEconomicaCtrl">
    <div class="modal-header">
        <h4>Classificação económica</h4>
    </div>
    <div class="modal-body">
        <div class="container-fluid">
            <div class="col-sm-12">
                <label>Classificação</label>
            </div>
            <br />
            <div class="col-sm-4">
                <input type="text"
                       class="form-control"
                       ng-model="selected.item.Val1"
                       maxlength="5"
                       numbers-only
                       placeholder="" />
            </div>
            <div class="col-sm-4">
                <input type="text"
                       class="form-control"
                       ng-model="selected.item.Val2"
                       maxlength="5"
                       numbers-only
                       placeholder="" />
            </div>
            <div class="col-sm-4">
                <input type="text"
                       class="form-control"
                       ng-model="selected.item.Val3"
                       maxlength="10"
                       placeholder="" />
            </div>

            <br />
            <br/>
            <br/>
            <div class="col-sm-12">
                <label>Descrição</label>
                <br />
                <input type="text"
                       class="form-control"
                       ng-model="selected.item.Descricao"
                       maxlength="150"
                       placeholder="" />
            </div>

            <br />
        </div>
    </div>
    <div class="modal-footer">
        <button class="btn btn-primary" ng-click="gravaClEconomica(selected.item)" ng-disabled="estaGravar==true">Gravar</button>
        <button class="btn btn-warning" ng-click="ok()" ng-disabled="estaGravar==true">Fechar</button>
    </div>
</div>