Skip to content

h.url_for not working in some templates #6046

Answered by anuveyatsu
pauldcollins asked this question in Q&A
Discussion options

You must be logged in to vote

@pauldcollins as it was mentioned above, the resource_views variable should be available and it should be a list of resource_view dicts. For testing purposes you can try resource_views[0]['id'] but this will always give you the first one.

Replies: 6 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@pauldcollins
Comment options

Answer selected by amercader
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #6043 on April 23, 2021 08:34.