Skip to content

Commit

Permalink
add time required field.
Browse files Browse the repository at this point in the history
wildone committed Jun 2, 2021
1 parent 5fab7ed commit f04ef3a
Showing 1 changed file with 25 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -97,8 +97,33 @@
sling:resourceType="granite/ui/components/coral/foundation/form/hidden"
name="./jcr:mixinTypes@TypeHint"
value="jcr:mixinTypes"/>

</items>
</basic>
<metadata
jcr:primaryType="nt:unstructured"
jcr:title="Metadata"
sling:resourceType="granite/ui/components/coral/foundation/form/fieldset">
<items jcr:primaryType="nt:unstructured">

<timeRequired
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/textfield"
fieldLabel="Time Required / Time To Read Value"
fieldDescription="Approximate or typical time it takes to read though this for the typical intended target audience in ISO 8601 duration format, e.g. 'PT1M', 'PT1H'."
name="./timeRequired"
required="{Boolean}false"/>

<timeRequiredText
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/textfield"
fieldLabel="Time Required / Time To Read Text"
fieldDescription="Average reading time."
name="./timeRequiredText"
required="{Boolean}false"/>

</items>
</metadata>



0 comments on commit f04ef3a

Please sign in to comment.