finaliser tests cabinet + expet
This commit is contained in:
@@ -10,9 +10,9 @@
|
||||
data-fv-icon-validating="glyphicon glyphicon-refresh">
|
||||
|
||||
<div class="form-group">
|
||||
<label class="control-label col-xs-3" for="CODE">Code</label>
|
||||
<label class="control-label col-xs-3" for="code_exp">Code</label>
|
||||
<div class="col-xs-9">
|
||||
<input class="form-control" type="text" id="CODE" name="CODE" value="${expert.CODE}" readonly />
|
||||
<p class="form-control-static">${code_exp}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
@@ -21,14 +21,14 @@
|
||||
<input class="form-control" type="text" id="NOM" name="NOM" value="${expert.NOM}"
|
||||
placeholder="30 caractères maximum"
|
||||
data-fv-notempty="true"
|
||||
data-fv-notempty-message="Un libellé est obligatoire"
|
||||
data-fv-notempty-message="Le nom est obligatoire"
|
||||
data-fv-stringlength="true"
|
||||
data-fv-stringlength-max="30"
|
||||
data-fv-stringlength-message="30 caractères maximum" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-xs-3 control-label" for="TEL1">Télphone 1</label>
|
||||
<label class="col-xs-3 control-label" for="TEL1">Télphone</label>
|
||||
<div class="col-xs-8">
|
||||
<input class="form-control" type="text" name="TEL1" value="${expert.TEL1}"
|
||||
placeholder="14 caractères maximum"
|
||||
@@ -58,7 +58,7 @@
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="col-sm-offset-3 col-xs-9 checkbox">
|
||||
<label><input type="checkbox" name="afficher" value="expert.en_activite"
|
||||
<label><input type="checkbox" name="en_activite" value="expert.en_activite"
|
||||
tal:attributes="checked expert.en_activite != 0 and 'checked' or None">La fiche est active
|
||||
</label>
|
||||
</div>
|
||||
@@ -72,12 +72,12 @@
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="col-xs-offset-3 col-xs-9">
|
||||
<a class="btn btn-default" href="/cabinets">
|
||||
<span class="glyphicon glyphicon-arrow-left"></span> Annuler</a>
|
||||
<button class="btn btn-primary" type="submit" name="form.submitted">
|
||||
<span class="glyphicon glyphicon-ok"></span> Enregistrer</button>
|
||||
<button class="btn btn-danger" type="submit" name="form.deleted" tal:condition="expert.CODE != '0'">
|
||||
<span class="glyphicon glyphicon-remove"></span> Supprimer</button>
|
||||
<a class="btn btn-default" href="/cabinet_edit/${expert.CODE_CAB}">
|
||||
<span class="glyphicon glyphicon-arrow-left"></span> Annuler</a>
|
||||
<button class="btn btn-primary" type="submit" name="form.submitted" tal:condition="code_exp != '1'">
|
||||
<span class="glyphicon glyphicon-ok"></span> Enregistrer</button>
|
||||
<button class="btn btn-danger" type="submit" name="form.deleted" tal:condition="code_exp != '1'">
|
||||
<span class="glyphicon glyphicon-remove"></span> Supprimer</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
Reference in New Issue
Block a user