-
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TASK: Tweak Fusion code to prevent empty class attributes
- Loading branch information
1 parent
680e867
commit 9e8df91
Showing
1 changed file
with
4 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
prototype(Neos.Form.FusionRenderer:AbstractSection) < prototype(Neos.Fusion:Tag) { | ||
@context.containerElement = ${this.containerElement} | ||
tagName = 'fieldset' | ||
attributes.class = Neos.Fusion:Array { | ||
defaultClass = ${containerElement.properties.elementClassAttribute ? containerElement.properties.elementClassAttribute : null} | ||
attributes { | ||
class = ${containerElement.properties.elementClassAttribute} | ||
[email protected] = ${containerElement.properties.elementClassAttribute ? true : false} | ||
} | ||
content = Neos.Fusion:Array { | ||
legend = Neos.Fusion:Tag { | ||
|
@@ -22,4 +23,4 @@ prototype(Neos.Form.FusionRenderer:AbstractSection) < prototype(Neos.Fusion:Tag) | |
formRuntime = ${formRuntime} | ||
formElement = ${containerElement} | ||
} | ||
} | ||
} |