diff options
author | Mike Gerwitz <mike.gerwitz@rtspecialty.com> | 2019-07-30 14:35:04 -0400 |
---|---|---|
committer | Mike Gerwitz <mike.gerwitz@rtspecialty.com> | 2019-07-30 14:35:05 -0400 |
commit | a58243c403dcfdb70220980b38108e08e3f7a2f5 (patch) | |
tree | 4c61d914d1e406b971c78e4a59efd923f60d3f78 /core | |
parent | 3e13b733c41c18c76b8e11c39434b5a8ec5f1305 (diff) | |
download | tame-a58243c403dcfdb70220980b38108e08e3f7a2f5.tar.gz tame-a58243c403dcfdb70220980b38108e08e3f7a2f5.tar.bz2 tame-a58243c403dcfdb70220980b38108e08e3f7a2f5.zip |
core/ui (_match-ui-applicable_): Account for applicability
It doesn't makes sense to consider a question to be set if it's not even
applicable. This also helps to remove a bunch of duplicate code where these
templates are being used.
Diffstat (limited to 'core')
-rw-r--r-- | core/ui.xml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/core/ui.xml b/core/ui.xml index 58e902e..6617526 100644 --- a/core/ui.xml +++ b/core/ui.xml @@ -87,7 +87,10 @@ </param> - <t:match-class name="@__set_class@" value="@value@" /> + <all> + <t:match-ui-applicable on="@on@" /> + <t:match-class name="@__set_class@" value="@value@" /> + </all> </template> </section> </package> |