You are here

merge-rows-theme.html.twig in Views Merge Rows 8.2

Same filename and directory in other branches
  1. 8 templates/merge-rows-theme.html.twig

Template used to render the option form of the views_merge_rows module.

File

templates/merge-rows-theme.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Template used to render the option form of the views_merge_rows module.
  5. *
  6. * @ingroup themeable
  7. */
  8. #}
  9. {{ form.warning_markup }}
  10. <div class="content">
  11. {{ form.merge_rows }}
  12. </div>
  13. <fieldset>
  14. <legend>
  15. <span class="fieldset-legend">{{ 'Configure merging options for the fields'|t }}</span>
  16. </legend>
  17. <div class="fieldset-wrapper">
  18. <table class="sticky-enabled">
  19. <thead>
  20. <tr>
  21. <th>{{ 'Field'|t }}</th>
  22. <th>{{ 'Merge option'|t }}</th>
  23. <th>{{ 'Exclude first'|t }}</th>
  24. <th>{{ 'Prefix'|t }}</th>
  25. <th>{{ 'Separator'|t }}</th>
  26. <th>{{ 'Suffix'|t }}</th>
  27. </tr>
  28. </thead>
  29. <tbody>
  30. {% for field in form.field_config %}
  31. {% if field.name %}
  32. <tr>
  33. <td class=content>{{ field.name }}</td>
  34. <td class=content>{{ field.merge_option }}</td>
  35. <td class=content>{{ field.exclude_first }}</td>
  36. <td class=content>{{ field.prefix }}</td>
  37. <td class=content>{{ field.separator }}</td>
  38. <td class=content>{{ field.suffix }}</td>
  39. </tr>
  40. {% endif %}
  41. {% endfor %}
  42. </tbody>
  43. </table>
  44. </div>
  45. </fieldset>
  46. {{ form.merge_options_description_title }}
  47. {{ form.merge_options_description }}