Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-31265

Allow class to be passed into ezplatform-matrix-fieldtype with attr parameter

    XMLWordPrintable

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Low Low
    • 3.0.0-beta6
    • 3.0.0-beta5
    • Field types
    • None

    Description

      When using this twig function call, the class is not added to the table tag

      {{ ez_render_field(content, 'some_matrix_field', { 'attr': { 'class': 'with-borders'}}) }}

      Ref: https://doc.ezplatform.com/en/2.5/guide/twig_functions_reference/#prototype-and-arguments_9

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            betsy betsy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: