dossier_lookup : enter = submit
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
<div class="row">
|
||||
<form method="POST" id="frm" class="form-horizontal">
|
||||
<div class="form-group">
|
||||
<div class="col-sm-4">
|
||||
<div class="col-xs-4">
|
||||
<select class="form-control" id="agenda" name="agenda" onChange="$('#frm').submit()" tal:condition="isCommercial==False">
|
||||
<div tal:repeat="item agendas">
|
||||
<option value="${item.CD_UTI}" tal:attributes="selected agenda==item.CD_UTI and 'selected' or None">${item.NOM}</option>
|
||||
@@ -52,9 +52,9 @@
|
||||
<div class="col-xs-offset-3 col-xs-9">
|
||||
<b>le <span id=dateheureRDV>date</span></b><br />
|
||||
</div>
|
||||
<p>pour la société</p>
|
||||
<div class="form-group">
|
||||
<div class="col-xs-offset-3 col-xs-8">
|
||||
<label class="col-xs-3 control-label">Société</label>
|
||||
<div class="col-xs-8">
|
||||
<label class="radio-inline"><input type="radio" name="societe" value="PE" checked>PE</label>
|
||||
<label class="radio-inline"><input type="radio" name="societe" value="ME">ME</label>
|
||||
<label class="radio-inline"><input type="radio" name="societe" value="PL">PL</label>
|
||||
@@ -69,8 +69,8 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">Motif</label>
|
||||
<div class="col-sm-8">
|
||||
<label class="col-xs-3 control-label">Motif</label>
|
||||
<div class="col-xs-8">
|
||||
<select class="form-control" id="type_rdv" name="type_rdv">
|
||||
<div tal:repeat="item types_rdv">
|
||||
<option value="${item.LIB}" tal:attributes="selected type_rdv==item.LIB and 'selected' or None">${item.LIB}</option>
|
||||
@@ -82,7 +82,7 @@
|
||||
<input type="hidden" name="heureRDV" id=heureRDV value="heure">
|
||||
|
||||
<div class="form-group">
|
||||
<div class="col-sm-5 col-sm-offset-4">
|
||||
<div class="col-xs-5 col-xs-offset-4">
|
||||
<button type="submit" class="btn btn-danger" name="form.submitted">Créer</button>
|
||||
<button type="button" class="btn btn-default" data-dismiss="modal">Annuler</button>
|
||||
</div>
|
||||
@@ -162,7 +162,7 @@
|
||||
},
|
||||
});
|
||||
},
|
||||
minLength: 6,
|
||||
minLength: 4,
|
||||
appendTo: "#confirmCreate"
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user