Skip to content

Commit

Permalink
Merge pull request #7 from daniellienert/task/add-elementClassAttribute
Browse files Browse the repository at this point in the history
TASK: Add elementClassAttribute also to sections
  • Loading branch information
Bastian Waidelich authored Sep 21, 2017
2 parents d468a0b + 9e8df91 commit eaf68c6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Resources/Private/Fusion/Core/AbstractSection.fusion
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
prototype(Neos.Form.FusionRenderer:AbstractSection) < prototype(Neos.Fusion:Tag) {
@context.containerElement = ${this.containerElement}
tagName = 'fieldset'
attributes {
class = ${containerElement.properties.elementClassAttribute}
[email protected] = ${containerElement.properties.elementClassAttribute ? true : false}
}
content = Neos.Fusion:Array {
legend = Neos.Fusion:Tag {
tagName = 'legend'
Expand Down

0 comments on commit eaf68c6

Please sign in to comment.