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

Can't pass a variable! #17

Closed
bashu opened this issue May 30, 2015 · 3 comments
Closed

Can't pass a variable! #17

bashu opened this issue May 30, 2015 · 3 comments

Comments

@bashu
Copy link
Owner

bashu commented May 30, 2015

I cannot for the life of me get the
{% easy_map "[address]" 300 400 %}
tag to work unless I hard code the address in.

I have a variable {{ f.location.full_address }} which outputs like this:
Florida, Miami, Chucunantah Road

If I hard code that same output, the map works.

Can you help?


@bashu
Copy link
Owner Author

bashu commented May 30, 2015

Hi,

Hardcoded addresses should be in quotes, variable addresses should be without quotes.
So isn't this working?

{{{
{% easy_map f.location.full_address 300 400 %}
}}}


Original comment by: Mikhail Korobov

@bashu
Copy link
Owner Author

bashu commented May 30, 2015

thanks, working great now, without curly brackets!


Original comment by: Anonymous

@bashu
Copy link
Owner Author

bashu commented May 30, 2015

Yeah!

Thanks for the report. Closing this as invalid because there is an example with variable address in README and I don't know how to improve it to make less confusing.


Original comment by: Mikhail Korobov

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