Skip to content

cond blocks in template problem #172

Description

@silverdr

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions