1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104
| {% extends "JOBmeetBundle::AdminFolder/layout.html.twig" %}
{% form_theme form 'bootstrap_3_layout.html.twig' %}
{% trans_default_domain 'FOSUserBundle' %}
{% block jobmeet_body %}
<div class="container" style="margin-top: 60px" xmlns="http://www.w3.org/1999/html">
<legend><h3 class="text-primary text-justify"><strong>Nouveau Praticien</strong></h3></legend><br />
<div class="row">
{{ form_start(form) }}
<div class="col-sm-4 col-sm-offset-2">
<div class="form-group">
{{ form_label(form.prenom) }}
{{ form_widget(form.prenom, {'attr':{'placeholder':'Prénom'}})}}<br />
{{ form_errors(form.prenom) }}
{{ form_widget(form.nom, {'attr':{'placeholder':'Nom'}})}}
{{ form_errors(form.nom) }}
</div>
<div class="form-group">
{{ form_label(form.genre) }}
{{ form_widget(form.genre, {'attr':{'class':'form-control'}}) }}
{{ form_errors(form.genre) }}
</div>
<div class="form-group">
<div>
{{ form_label(form.age) }}
<i class="fa fa-calendar fa-fw" aria-hidden="true"></i>
</div>
{{ form_widget(form.age)}}
{{ form_errors(form.age) }}
</div>
<div class="form-group">
{{ form_label(form.specialite) }}
{{ form_widget(form.specialite)}}
{{ form_errors(form.specialite) }}
</div>
<div class="form-group">
{{ form_label(form.username) }}
{{ form_widget(form.username, {'attr':{'placeholder':'Nom d\'utilisateur'}}) }}
{{ form_errors(form.username) }}
</div>
<div class="form-group">
{{ form_label(form.email) }}
<div class="input-group margin-bottom-sm">
<span class="input-group-addon"><i class="fa fa-envelope-o fa-fw" aria-hidden="true"></i></span>
{{ form_widget(form.email, {'attr':{'class':'form-control','placeholder':'addresse E-mail'}})}}
</div>
{{ form_errors(form.email) }}
</div>
<div class="form-group">
<div class="form-group">
{{ form_widget(form.plainPassword) }}
{{ form_errors(form.plainPassword) }}
</div>
</div>
</div>
<div class="col-sm-4">
<div class="form-group">
{{ form_label(form.adresse.pays) }}
{{ form_widget(form.adresse.pays)}}
{{ form_errors(form.adresse.pays) }}
</div>
<div class="form-group">
{{ form_label(form.adresse.ville) }}
{{ form_widget(form.adresse.ville) }}
{{ form_errors(form.adresse.ville) }}
</div>
<div class="form-group">
{{ form_label(form.adresse.quartier) }}
{{ form_widget(form.adresse.quartier) }}
{{ form_errors(form.adresse.quartier) }}
</div>
<div class="form-group">
{{ form_label(form.adresse.cp) }}
{{ form_widget(form.adresse.cp, {'attr':{'placeholder':'Votre code Postale'}}) }}
{{ form_errors(form.adresse.cp) }}
</div>
<div class="form-group">
{{ form_label(form.adresse.contact) }}
<div class="input-group margin-bottom-sm">
<span class="input-group-addon"><i class="fa fa-phone fa-fw" aria-hidden="true"></i></span>
{{ form_widget(form.adresse.contact, {'attr':{'placeholder':'Votre contact'}})}}
</div>
{{ form_errors(form.adresse.contact) }}
</div>
<div class="form-group">
{{ form_label(form.adresse.complement) }}
{{ form_widget(form.adresse.complement, {'attr':{'placeholder':'Rue, Porte,'}}) }}
{{ form_errors(form.adresse.complement) }}
</div><br />
<div class="form-group">
{{ form_label(form.image.file) }}<br />
{{ form_widget(form.image.file) }}
{{ form_errors(form.image.file) }}
</div>
<br /><br /><br />
<button class="btn btn-primary pull-right" type="submit" onclick='newP()' value="{{ 'registration.submit'|trans({}, 'FOSUserBundle') }}">
<i class="fa fa-user-plus"></i> Ajouter</button>
{{ form_end(form) }}<br /><br /><br />
<a class="pull-right" href="{{ path('praticiens') }}" style="text-decoration: none">
Retour à la liste
</a>
</div>
</div>
</div>
{% endblock %} |
Partager