<md-dialog aria-label="Selezione conto corrente" style="height:520px;min-height:520px;width:620px" layout="column">
		<md-toolbar class="small-toolbar" layout="row">
		   <div class="md-toolbar-tools small-toolbar">
		     <h3>Destinatario</h3>
		     <span flex></span>
		     <md-icon ng-click="cancelDialog()" md-font-icon="fa-times" class="fa button-icon" style="color:white">
					<md-tooltip>Chiudi</md-tooltip>
			 </md-icon>
		   </div>
		 </md-toolbar>

	<md-dialog-content style="min-height:380px">
		<ng-form name="form">
			<div class="md-dialog-content" flex>
				<div layout-gt-sm="row" layout="column">
					<md-input-container flex>
						<label>Destinatario</label>
						<input type="text" maxlength="90" ng-model="destinatario.destinatario" md-autofocus>
					</md-input-container>
				</div>
				<div layout-gt-sm="row" layout="column">
					<md-input-container flex>
						<label>Codice fiscale / P. IVA</label>
						<input type="text" maxlength="16" ng-model="destinatario.codiceFiscale" ng-blur="controllaCF()">
					</md-input-container>
					<md-input-container flex>
						<label>Indirizzo</label>
						<input type="text" maxlength="40" ng-model="destinatario.indirizzo">
					</md-input-container>
				</div>
				<div layout-gt-sm="row" layout="column">
					<md-input-container flex-gt-sm="50" flex="100">
						<label>Comune</label>
						<input type="text" maxlength="25" ng-model="destinatario.citta">
					</md-input-container>
					<md-input-container  flex-gt-sm="25" flex="100">
						<label>CAP</label>
						<input type="text" maxlength="5" ng-model="destinatario.cap">
					</md-input-container>
					<md-input-container flex-gt-sm="25" flex="100">
						<label>Provincia</label>
						<input type="text" maxlength="2" ng-model="destinatario.provincia">
					</md-input-container>
				</div>
				<div layout-gt-sm="row" layout="column">
					<md-input-container flex>
						<label>Coordinate IBAN addebito</label>
						<input type="text" maxlength="42" ng-model="destinatario.coordinateIbanordinante">
					</md-input-container>
					<md-input-container>
						<md-checkbox ng-model="destinatario.bonificoHigPriority">Bonifico SCT high priority</md-checkbox>	
					</md-input-container>
				</div>
	      	</div>
      	</ng-form>			
	</md-dialog-content>
	
	<md-dialog-actions layout="row" >
		<span flex></span>
   		<md-button type="submit" ng-click="confirmDialog()" aria-label="Chiudi" class="md-raised md-primary" title="Conferma" >
	       	<md-icon md-font-icon="fa-check" class="fa" aria-label="Conferma"></md-icon>
    	    Conferma
      	</md-button>
   		<md-button type="submit" ng-click="cancelDialog()" aria-label="Chiudi" class="md-raised md-warn" title="Annulla" >
	       	<md-icon md-font-icon="fa-check" class="fa" aria-label="Annulla"></md-icon>
    	    Annulla
      	</md-button>
 	</md-dialog-actions>		
  			
</md-dialog>
