Skip to content
New issue

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

cond blocks in template problem #172

Open
silverdr opened this issue Nov 6, 2022 · 0 comments
Open

cond blocks in template problem #172

silverdr opened this issue Nov 6, 2022 · 0 comments

Comments

@silverdr
Copy link

silverdr commented Nov 6, 2022

When trying to write cond do block inside a template I get

** (SyntaxError) lib/phxapp_web/templates/entity/index.html.slim:1:2380: syntax error before: '->'
    |
  1 |  PhxApp.function_returning_bool?(argument) -> {"string0", "string1"}
    |                                            ^

Am I doing something wrong or is this just a no-go?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant