Hi,
I have done something like this before, but am not sure how to go about it here. I have a file blueprint with the following field:
blockTag:
label: Block tag
type: select
empty: false
options:
project-delivery-team: Project delivery team
involving-setting-staff: Involving setting staff
working-with-children: Working with children & young people
involving-families-and-communities: Involving families & communities
positive-setting-culture: Positive setting culture
evaluation: Evaluation
And am listing these files in another blueprint like this:
resourcesFiles:
type: files
headline: Resources
template: resource-file
info: "{{file.blockTag}} - {{file.modified('jS F Y')}}"
empty: No resources added yet
The {{file.blockTag}}
is outputting the value (e.g. involving-setting-staff
) and I would like to output the label (e.g. Involving setting staff).
Would I need a file method for this?