templates/commercial/fiches/_form.html.twig line 1

Open in your IDE?
  1. {{ form_start(form) }}
  2. <div class="row form-up input-form">
  3.     <div class="col-md-6 mt-3">
  4.         <span class="title">{{ form_label(form.ficheTitle) }}</span>
  5.         {{ form_widget(form.ficheTitle) }}
  6.     </div>
  7.     <div class="col-md-6 mt-3">
  8.         <span class="title">{{ form_label(form.title) }}</span>
  9.         {{ form_widget(form.title) }}
  10.     </div>
  11.     <div class="col-md-6 mt-3">
  12.         <span class="title">{{ form_label(form.subTitle) }}</span>
  13.         {{ form_widget(form.subTitle) }}
  14.     </div>
  15.     <div class="col-md-6 mt-3">
  16.         <span class="title">{{ form_label(form.rncpOrRs) }}</span>
  17.         {{ form_widget(form.rncpOrRs) }}
  18.     </div>
  19.     <div class="col-md-3 mt-3">
  20.         <span class="title">
  21.             <label for="trainings_validityDateRncp" class="form-label">Date de validité du RNCP</label>
  22.         </span>
  23.         {{ form_widget(form.validityDateRncp) }}
  24.     </div>
  25.     <div class="col-md-6 mt-3">
  26.         <span class="title">{{ form_label(form.traineeOrEnterprise) }}</span>
  27.         {{ form_widget(form.traineeOrEnterprise) }}
  28.     </div>
  29.     <div class="col-md-4 mt-3">
  30.         <span class="title">{{ form_label(form.code) }}</span>
  31.         {{ form_widget(form.code) }}
  32.     </div>
  33.     <div class="col-md-12 align-end mt-3">
  34.         <span class="title">{{ form_label(form.cutInBlocks) }}</span>
  35.         {{ form_widget(form.cutInBlocks) }}
  36.     </div>
  37.     <div class="col-md-6 mt-3">
  38.         <span class="title">{{ form_label(form.domain) }}</span>
  39.         {{ form_widget(form.domain) }}
  40.     </div>
  41.     <div class="col-md-6 mt-3">
  42.         <span class="title">{{ form_label(form.subDomain) }}</span>
  43.         {{ form_widget(form.subDomain) }}
  44.     </div>
  45. </div>
  46. <div class="row form-up input-form mt-3">
  47.     <div class="col-md-2 align-end mt-3">
  48.         <span class="title">{{ form_label(form.new) }}</span>
  49.         {{ form_widget(form.new) }}
  50.     </div>
  51. </div>
  52. <div class="row form-up input-form">
  53.     <div class="col-md-12 mt-3">
  54.         <span class="title">{{ form_label(form.objectives) }}</span>
  55.         {{ form_widget(form.objectives) }}
  56.     </div>
  57.     <div class="col-md-12 mt-3">
  58.         <span class="title">{{ form_label(form.complementaryObjectives) }}</span>
  59.         {{ form_widget(form.complementaryObjectives) }}
  60.     </div>
  61.     <div class="col-md-12 mt-3">
  62.         <span class="title">{{ form_label(form.pedagogicContent) }}</span>
  63.         {{ form_widget(form.pedagogicContent) }}
  64.     </div>
  65.     <div class="col-md-12 mt-3">
  66.         <span class="title">{{ form_label(form.pluses) }}</span>
  67.         {{ form_widget(form.pluses) }}
  68.     </div>
  69.     <div class="col-md-12 mt-3">
  70.         <span class="title">{{ form_label(form.concernedPersons) }}</span>
  71.         {{ form_widget(form.concernedPersons) }}
  72.     </div>
  73.     <div class="col-md-12 mt-3">
  74.         <span class="title">{{ form_label(form.prerequisites) }}</span>
  75.         {{ form_widget(form.prerequisites) }}
  76.     </div>
  77.     <div class="col-md-12 mt-3">
  78.         <span class="title">{{ form_label(form.companyMissions) }}</span>
  79.         {{ form_widget(form.companyMissions) }}
  80.     </div>
  81. </div>
  82. <div class="row form-up input-form">
  83.     <div class="col-md-4 mt-3">
  84.         <span class="title">{{ form_label(form.price) }}</span>
  85.         {{ form_widget(form.price) }}
  86.     </div>
  87. </div>
  88. <div class="row form-up input-form">
  89.     <div class="col-md-12 mt-3">
  90.         <span class="title">{{ form_label(form.time) }}</span>
  91.         {{ form_widget(form.time) }}
  92.     </div>
  93. </div>
  94. <div class="row form-up input-form">
  95.     <div class="col-md-4 mt-3">
  96.         <span class="title">{{ form_label(form.days) }}</span>
  97.         {{ form_widget(form.days) }}
  98.     </div>
  99.     <div class="col-md-4 mt-3">
  100.         <span class="title">{{ form_label(form.hours) }}</span>
  101.         {{ form_widget(form.hours) }}
  102.     </div>
  103. </div>
  104. <div class="row form-up input-form">
  105.     <div class="col-md-4 mt-3">
  106.         <span class="title">{{ form_label(form.date) }}</span>
  107.         {{ form_widget(form.date) }}
  108.     </div>
  109.     {% if 'fiches_new' == app.request.get('_route') or 'fiches_edit' == app.request.get('_route') %}
  110.         <div class="col-md-4 mt-3">
  111.             <span class="title">{{ form_label(form.place) }}</span>
  112.             {{ form_widget(form.place) }}
  113.         </div>
  114.         <div class="col-md-4 mt-3 d-none">
  115.             <span class="title">{{ form_label(form.trainingPlace) }}</span>
  116.             {{ form_widget(form.trainingPlace) }}
  117.         </div>
  118.     {% else %}
  119.         <div class="col-md-4 mt-3 d-none">
  120.             <span class="title">{{ form_label(form.place) }}</span>
  121.             {{ form_widget(form.place) }}
  122.         </div>
  123.         <div class="col-md-4 mt-3">
  124.             <span class="title">{{ form_label(form.trainingPlace) }}</span>
  125.             {{ form_widget(form.trainingPlace) }}
  126.         </div>
  127.     {% endif %}
  128. </div>
  129. <div class="row form-up input-form">
  130.     <div class="col-md-12 mt-3">
  131.         <span class="title">{{ form_label(form.deviceAndTraining) }}</span>
  132.         {{ form_widget(form.deviceAndTraining) }}
  133.     </div>
  134.     <div class="col-md-12 mt-3">
  135.         <span class="title">{{ form_label(form.termsOfAccess) }}</span>
  136.         {{ form_widget(form.termsOfAccess) }}
  137.     </div>
  138.     <div class="col-md-12 mt-3">
  139.         <span class="title">{{ form_label(form.alternatingRythm) }}</span>
  140.         {{ form_widget(form.alternatingRythm) }}
  141.     </div>
  142.     <div class="col-md-12 mt-3">
  143.         <span class="title">{{ form_label(form.teachingMethods) }}</span>
  144.         {{ form_widget(form.teachingMethods) }}
  145.     </div>
  146.     <div class="col-md-12 mt-3">
  147.         <span class="title">{{ form_label(form.teachingMeans) }}</span>
  148.         {{ form_widget(form.teachingMeans) }}
  149.     </div>
  150.     <div class="col-md-6 mt-3">
  151.         <span class="title">{{ form_label(form.certificationType) }}</span>
  152.         {{ form_widget(form.certificationType) }}
  153.     </div>
  154.     <div class="col-md-6 mt-3">
  155.         <span class="title">{{ form_label(form.educationLevelName) }}</span>
  156.         {{ form_widget(form.educationLevelName) }}
  157.     </div>
  158.     <div class="col-md-12 mt-3">
  159.         <span class="title">{{ form_label(form.educationLevel) }}</span>
  160.         {{ form_widget(form.educationLevel) }}
  161.     </div>
  162.     <div class="col-md-6 mt-3">
  163.         <span class="title">{{ form_label(form.certificationName) }}</span>
  164.         {{ form_widget(form.certificationName) }}
  165.     </div>
  166.     <div class="col-md-12 mt-3">
  167.         <span class="title">{{ form_label(form.assessmentMethods) }}</span>
  168.         {{ form_widget(form.assessmentMethods) }}
  169.     </div>
  170.     <div class="col-md-12 mt-3">
  171.         <span class="title">{{ form_label(form.targetFunctions) }}</span>
  172.         {{ form_widget(form.targetFunctions) }}
  173.     </div>
  174.     <div class="col-md-12 mt-3">
  175.         <span class="title">{{ form_label(form.continuingStudies) }}</span>
  176.         {{ form_widget(form.continuingStudies) }}
  177.     </div>
  178.     <div class="col-md-6 mt-3">
  179.         <span class="title">{{ form_label(form.pedagogicalReferent) }}</span>
  180.         {{ form_widget(form.pedagogicalReferent) }}
  181.     </div>
  182.     <div class="col-md-6 mt-3">
  183.         <span class="title">{{ form_label(form.commercials) }}</span>
  184.         {{ form_widget(form.commercials) }}
  185.     </div>
  186.     <div class="col-md-4 mt-3">
  187.         <span class="title">{{ form_label(form.disabledAccessibility) }}</span>
  188.         {{ form_widget(form.disabledAccessibility) }}
  189.     </div>
  190.     <div class="col-md-12 mt-3">
  191.         <span class="title">{{ form_label(form.accessibilityText) }}</span>
  192.         {{ form_widget(form.accessibilityText) }}
  193.     </div>
  194.     <div class="col-md-12 mt-3">
  195.         <span class="title">{{ form_label(form.testimonials) }}</span>
  196.         {{ form_widget(form.testimonials) }}
  197.     </div>
  198. </div>
  199. <div class="col-md-6 mt-3 d-none">
  200.     <span class="title">{{ form_label(form.linkedTrainings) }}</span>
  201.     {{ form_widget(form.linkedTrainings) }}
  202. </div>
  203. <div class="col-md-12 form-up input-form d-flex justify-content-center mt-5">
  204.     <div class="action-buttons-form">
  205.         <button class="btn btn-azure me-3" title="Valider la fiche de formation">{{ button_label|default('Valider') }}</button>
  206.     </div>
  207. </div>
  208. {{ form_end(form) }}