We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
user:can
Would great if you could use else with the user:can and user:cant tags.
else
user:cant
Otherwise you get this:
{{ user:cant do="edit projects collection" }} {{ redirect to="{route:login}" }} {{ /user:cant }} {{ user:can do="edit projects collection" }} {{ partial:app/estimate }} {{ /user:can }}
Whereas this would be nicer:
{{ user:cant do="edit projects collection" }} {{ redirect to="{route:login}" }} {{ else }} {{ partial:app/estimate }} {{ /user:cant }}
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Would great if you could use
else
with theuser:can
anduser:cant
tags.Otherwise you get this:
Whereas this would be nicer:
The text was updated successfully, but these errors were encountered: