On 20 November 2011 14:44, Les Nightingill <[email protected]> wrote: > the first do |f| is not properly indented under the if and = > simple_form_for lines, > > and also you cannot put 'else' inside the 'do |f|' block. Remember > that haml automatically puts the "end" for a block, so the do |f| has > an implicit "end", you're incorrectly putting "else" between the 'do' > and the 'end'.
How can I rewrite all? -- 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.
