<div class="">
    <h3 class="modalTitle">
        Organisme
    </h3>
    <div class="modalBody">
        <div class="row spbrow">
            <div class="col-xs-12">
                <label class="required"> Nom </label>
                <input type="text" class="form-control" ng-model="currentEntreprise.properties[entreprisesCfg.fields.nom]" />
            </div>
        </div>
        <div class="row">
            <div class="col-xs-3">
                <label class="required"> Type </label>
                <div form-field fti="entreprisesFti" attname="entreprisesCfg.fields.type" res="currentEntreprise.properties" field-data="{disabled:forceType}"></div>
                <!--          <input type="text" class="form-control"
                       ng-model="currentEntreprise.properties[entreprisesCfg.fields.type]"/>-->
            </div>
            <div class="col-xs-2">
                <label> Actif </label>
                <div>
                    <input type="checkbox" ng-disabled="forceActif" ng-model="currentEntreprise.properties[entreprisesCfg.fields.actif]" />
                </div>

            </div>
            <div class="col-xs-2">
                <label> Agréé </label>
                <div>
                    <input type="checkbox" ng-model="currentEntreprise.properties[entreprisesCfg.fields.agree]"
                    />
                </div>

            </div>
            <div class="col-xs-5">
                <label> Siret </label>
                <input type="text" class="form-control" maxlength="14" ng-model="currentEntreprise.properties[entreprisesCfg.fields.siret]"
                />
            </div>
        </div>

        <!--<div class="row">
            <div class="col-xs-6">
                <label> Téléphone </label>
                <input type="text" class="form-control"
                       ng-model="currentEntreprise.properties[entreprisesCfg.fields.telephone]"/>
            </div>
            <div class="col-xs-6">
                <label> Fax </label>
                <input type="text" class="form-control"
                       ng-model="currentEntreprise.properties[entreprisesCfg.fields.fax]"/>
            </div>
        </div>-->
        <anc-adresse res="currentEntreprise.properties" show-contact="true" show-title="true"></anc-adresse>
        </hr>
        <div class="row">
            <div class="col-xs-12">
                <hr/>
                <div class="btn btn-default pull-right" ng-click="saveEntreprise()" ng-disabled="!currentEntreprise.properties[entreprisesCfg.fields.nom]||!currentEntreprise.properties[entreprisesCfg.fields.type]">
                    <i class="fa fa-save"></i>
                    <translate>common.save</translate>
                </div>
            </div>
        </div>
    </div>
</div>