You are here

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

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

This file defines the theme 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. * This file defines the theme 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">{{ form.merge_rows }}</div>
  11. <fieldset>
  12. <legend>Configure merging options for the fields</legend>
  13. <p></p>
  14. <div class="fieldset-wrapper">
  15. <table class="sticky-enabled">
  16. <thead><tr><th>Field</th><th>Merge option</th><th>Exclude first</th><th>Prefix</th><th>Separator</th><th>Suffix</th></tr></thead>
  17. <tbody>
  18. {% for field in form.field_config %}
  19. {% if field.name %}
  20. <tr>
  21. <td class=content>{{ field.name }}</td>
  22. <td class=content>{{ field.merge_option }}</td>
  23. <td class=content>{{ field.exclude_first }}</td>
  24. <td class=content>{{ field.prefix }}</td>
  25. <td class=content>{{ field.separator }}</td>
  26. <td class=content>{{ field.suffix }}</td>
  27. </tr>
  28. {% endif %}
  29. {% endfor %}
  30. </tbody>
  31. </table>
  32. </div>
  33. </fieldset>