php - mthaml Illegal nesting: nesting within echo is illegal

471

I need to execute the following haml

  = form_open('login', array('method' => 'POST'))
    %p
      %label{:for => "password"} Password
      = form_input($login_password)
    %p
      %input{:name => "submit", :type => "submit", :value => "Login"}
  = form_close()

But I keep getting

with message 'Illegal nesting: nesting within echo is illegal in 

I understand the error and that it's nested but how do i fix it? It worked fine with the other php library called phamlp

People are also looking for solutions to the problem: php - Filtering MySql Query for Distance Calculation

Source

Didn't find the answer?

Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.

Ask a Question

Write quick answer

Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.

Similar questions

Find the answer in similar questions on our website.