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

Render a partial with arguments #19

Open
nurugger07 opened this issue Feb 21, 2014 · 2 comments
Open

Render a partial with arguments #19

nurugger07 opened this issue Feb 21, 2014 · 2 comments

Comments

@nurugger07
Copy link
Owner

Calling render and passing a partial file name should compile. Render partial should also accept arguments. This should be in the similar to the current render but need to test.
Given the following haml:

%p
  = render "templates/shared/partial", [ arg: "New Partial" ] 
@ben-pr-p
Copy link

ben-pr-p commented Jul 5, 2017

Any timeline on this @nurugger07 ? This is sort of a must have for replacing eex with haml in a larger project

@ben-pr-p
Copy link

ben-pr-p commented Jul 5, 2017

Looks like this works now, actually – wanna close it and remove it from the Coming Soon on the README?

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

No branches or pull requests

2 participants