Skip to content

var issue inside 'each' #5

Description

@norman784

I've this code

ul
  each row in list
    li
      a(href='/path/#{app.type}/#{row.id}')= row.name

And the output its

<ul>
  <li>
    <a href='/path/5545629529/5545629529'>Row name</a>
  </li>
</ul>

The thing its that no matter how i call my first var inside the url, it takes the last value and replace both values with the last one.

Regards

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions