Skip to content

Commit

Permalink
change category to display as title
Browse files Browse the repository at this point in the history
  • Loading branch information
Laura Gerhardt committed Mar 19, 2020
1 parent 26c6724 commit b7499ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/_content_collection_template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ slug: '{{slug}}'
fields:
- {label: 'Layout', name: 'layout', widget: 'hidden', default: 'post'}
- {label: 'Title', name: 'title', widget: 'string'}
- {label: 'Category - from existing', name: 'category', widget: 'relation', collection: 'categories', searchFields: ['title', 'name'], valueField: 'name'}
- {label: 'Category - from existing', name: 'category', widget: 'relation', collection: 'categories', searchFields: ['title', 'name'], valueField: 'name', displayFields: 'title'}
- {label: 'Source name', name: 'source', widget: 'string'}
- {label: 'Source link', name: 'source_url', widget: 'string'}
- {label: 'Promoted', name: 'promoted', widget: 'boolean', default: false}
Expand Down

0 comments on commit b7499ab

Please sign in to comment.