Still something which I don't grasp
Getting:
SyntaxError in Users#index
Showing app/views/users/index.haml where line #15 raised:
(eval):70:in `compile': compile error
(eval):41: syntax error, unexpected '<'
for <at> user in <at> users
^
(eval):41: syntax error, unexpected kIN, expecting kEND
for <at> user in <at> users
^
Extracted source (around line #15):
12: - for <at> user in <at> users
13: %tr
14: %td= in_place_editor_field :user, :l_name
15: %td= in_place_editor_field :user, :f_name
16: / - for user in users
17: / - @user = user
18: / %td= in_place_editor_field :user, :l_name
>From this:
= javascript_include_tag :defaults
%h1 Listing users
%table{:cellpadding => 5, :bgcolor => "#FFFF66", :border => 5}
%tr
%th first name
%th last name
%th Phone
%th Contacts sum
%th Comments
%tr
- for <at> user in <at> users
%tr
%td= in_place_editor_field :user, :l_name
%td= in_place_editor_field :user, :f_name
/ - for user in users
/ - @user = user
/ %td= in_place_editor_field :user, :l_name
/ = link_to 'New user', new_user_path
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Haml" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/haml?hl=en
-~----------~----~----~----~------~----~------~--~---