templates/templates/models/board-publish.html.twig line 1

Open in your IDE?
  1. {% extends "layouts/master.html.twig" %}
  2. {% block bodyClass %}{% endblock %}
  3. {% block siteHeader %}
  4.     {% include 'organisms/site-header.html.twig' %}
  5. {% endblock %}
  6. {% block pageHeader %}
  7.     {% include 'molecules/page-header.html.twig' with {
  8.         breadcrumb: [
  9.             { path: path('board'), title: 'Taboleiro' }
  10.         ],
  11.         title: 'Publicar anuncio'
  12.     } %}
  13. {% endblock %}
  14. {% block pageContent %}
  15.     <form data-drupal-selector="classified-ad-form" action="" method="post" id="classified-ad-form" accept-charset="UTF-8" class="classified-ad-form ml-form">
  16.         <fieldset data-drupal-selector="edit-classified-ad" id="edit-classified-ad" class="js-form-item form-item js-form-wrapper form-wrapper">
  17.             <legend>
  18.                 <span class="fieldset-legend">Classified ad data</span>
  19.             </legend>
  20.             <div class="fieldset-wrapper">
  21.                 <div class="js-form-item form-item js-form-type-textfield form-item-title js-form-item-title">
  22.                     <label for="edit-title" class="js-form-required form-required">Título</label>
  23.                     <input data-drupal-selector="edit-title" type="text" id="edit-title" name="title" value="" size="60" maxlength="128" placeholder="Título" required="required" aria-required="true" class="form-text required form-control">
  24.                 </div>
  25.                 <div class="js-form-item form-item js-form-type-select form-item-language js-form-item-language">
  26.                     <label for="edit-language">Idioma</label>
  27.                     <select data-drupal-selector="edit-language" id="edit-language" name="language" class="form-select">
  28.                         <option value="es">Castellano</option>
  29.                         <option value="gl" selected="selected">Galego</option>
  30.                         <option value="en">Inglés</option>
  31.                     </select>
  32.                 </div>
  33.                 <div class="js-form-item form-item js-form-type-textarea form-item-body js-form-item-body">
  34.                     <label for="edit-body" class="js-form-required form-required">Corpo</label>
  35.                     <div>
  36.                         <textarea data-drupal-selector="edit-body" id="edit-body" name="body" rows="3" cols="60" placeholder="Corpo" required="required" aria-required="true" class="form-textarea required"></textarea>
  37.                     </div>
  38.                 </div>
  39.                 <fieldset data-drupal-selector="edit-topics" id="edit-topics--wrapper" required="required" aria-required="true" class="fieldgroup form-composite required js-form-item form-item js-form-wrapper form-wrapper">
  40.                     <legend>
  41.                         <span class="fieldset-legend js-form-required form-required">Temas</span>
  42.                     </legend>
  43.                     <div class="fieldset-wrapper">
  44.                         <div id="edit-topics" class="form-checkboxes">
  45.                             <div class="js-form-item form-item js-form-type-checkbox form-item-topics-12 js-form-item-topics-12">
  46.                                 <input data-drupal-selector="edit-topics-12" type="checkbox" id="edit-topics-12" name="topics[12]" value="12" class="form-checkbox form-control">
  47.                                 <label for="edit-topics-12" class="option">Aloxamento </label>
  48.                             </div>
  49.                             <div class="js-form-item form-item js-form-type-checkbox form-item-topics-13 js-form-item-topics-13">
  50.                                 <input data-drupal-selector="edit-topics-13" type="checkbox" id="edit-topics-13" name="topics[13]" value="13" class="form-checkbox form-control">
  51.                                 <label for="edit-topics-13" class="option">idiomas</label>
  52.                             </div>
  53.                         </div>
  54.                     </div>
  55.                 </fieldset>
  56.             </div>
  57.         </fieldset>
  58.         <fieldset data-drupal-selector="edit-user" id="edit-user" class="js-form-item form-item js-form-wrapper form-wrapper">
  59.             <legend>
  60.                 <span class="fieldset-legend">Contact data</span>
  61.             </legend>
  62.             <div class="fieldset-wrapper">
  63.                 <div class="js-form-item form-item js-form-type-textfield form-item-name js-form-item-name">
  64.                     <label for="edit-name" class="js-form-required form-required">Nome</label>
  65.                     <input data-drupal-selector="edit-name" type="text" id="edit-name" name="name" value="" size="60" maxlength="128" placeholder="Nome" required="required" aria-required="true" class="form-text required form-control">
  66.                 </div>
  67.                 <div class="js-form-item form-item js-form-type-textfield form-item-surname js-form-item-surname">
  68.                     <label for="edit-surname" class="js-form-required form-required">Surname</label>
  69.                     <input data-drupal-selector="edit-surname" type="text" id="edit-surname" name="surname" value="" size="60" maxlength="128" placeholder="Surname" required="required" aria-required="true" class="form-text required form-control">
  70.                 </div>
  71.                 <div class="js-form-item form-item js-form-type-email form-item-email js-form-item-email">
  72.                     <label for="edit-email" class="js-form-required form-required">Correo electrónico</label>
  73.                     <input data-drupal-selector="edit-email" type="email" id="edit-email" name="email" value="" size="60" maxlength="254" placeholder="Correo electrónico" required="required" aria-required="true" class="form-email required form-control">
  74.                 </div>
  75.                 <div class="js-form-item form-item js-form-type-textfield form-item-phone js-form-item-phone">
  76.                     <label for="edit-phone" class="js-form-required form-required">Número de teléfono</label>
  77.                     <input data-drupal-selector="edit-phone" type="text" id="edit-phone" name="phone" value="" size="60" maxlength="128" placeholder="Número de teléfono" required="required" aria-required="true" class="form-text required form-control">
  78.                 </div>
  79.                 <fieldset data-drupal-selector="edit-options" id="edit-options--wrapper" required="required" aria-required="true" class="fieldgroup form-composite required js-form-item form-item js-form-wrapper form-wrapper">
  80.                     <legend>
  81.                         <span class="fieldset-legend js-form-required form-required">Contact(s) details that you want to show in the ad</span>
  82.                     </legend>
  83.                     <div class="fieldset-wrapper">
  84.                         <div id="edit-options" class="form-checkboxes">
  85.                             <div class="js-form-item form-item js-form-type-checkbox form-item-options-field-email js-form-item-options-field-email">
  86.                                 <input data-drupal-selector="edit-options-field-email" type="checkbox" id="edit-options-field-email" name="options[field_email]" value="field_email" class="form-checkbox form-control">
  87.                                 <label for="edit-options-field-email" class="option">Correo electrónico</label>
  88.                             </div>
  89.                             <div class="js-form-item form-item js-form-type-checkbox form-item-options-field-phone js-form-item-options-field-phone">
  90.                                 <input data-drupal-selector="edit-options-field-phone" type="checkbox" id="edit-options-field-phone" name="options[field_phone]" value="field_phone" class="form-checkbox form-control">
  91.                                 <label for="edit-options-field-phone" class="option">Phone</label>
  92.                             </div>
  93.                         </div>
  94.                     </div>
  95.                 </fieldset>
  96.             </div>
  97.         </fieldset>
  98.         <input autocomplete="off" data-drupal-selector="form-lampylk-ymu0zvlfzr6hgkgyssg9bcwo39lj6tlo5vm" type="hidden" name="form_build_id" value="form-laMPylk_YMU0ZvlFZr6HgKGYssG9BcWO39lj6tlo5vM" class="form-control">
  99.         <input data-drupal-selector="edit-classified-ad-form-form-token" type="hidden" name="form_token" value="mNIWI3STvenQNMPEjNE-PeXEO6e-clkufGXgQt2utk8" class="form-control">
  100.         <input data-drupal-selector="edit-classified-ad-form" type="hidden" name="form_id" value="classified_ad_form" class="form-control">
  101.         <div data-drupal-selector="edit-actions" id="edit-actions" class="form-actions js-form-wrapper form-wrapper">
  102.             <input data-drupal-selector="edit-submit" type="submit" id="edit-submit" name="op" value="Engadir" class="button js-form-submit form-submit form-control at-button">
  103.         </div>
  104.     </form>
  105. {% endblock %}
  106. {% block siteFooter %}
  107.     {% include 'organisms/site-footer.html.twig' %}
  108. {% endblock %}