Closed ekampp closed 11 years ago
= blog-post
or just
blog-post
should work too
Thanks! :D
I tried to use an ember component like this:
.form-group
= datepicker label="Birthday" value=view.birthday
then like this:
.form-group
datepicker label="Birthday" value=view.birthday
I got the following error each time (where Cv.IdentitiesController is the controller for the view):
Could not find property 'datepicker' on object <Cv.IdentitiesController>
Am I missing something ? (I'm using emblem-rails)
Solved :-) Components must have a - in their name
The Emberjs guide on components states that a component should be included simply like this:
How should this be written in emblem?