Note that there are some explanatory texts on larger screens.

plurals
  1. POError: haml syntax error, unexpected keyword_ensure, expecting $end
    primarykey
    data
    text
    <p>Have converted devise new session from erb to Haml but doens't work, this is the code:</p> <pre><code>%div.row.show-grid %div.span8.offset7 %h1 Sign in - form_for(resource, :as =&gt; resource_name, :url =&gt; session_path(resource_name)) do |f| %div.clearfix = f.label :email %div.input = f.email_field :email, :class =&gt; 'xlarge', :id =&gt; 'admin_email' %div.clearfix = f.label :password %div.input = f.password_field :password, :class =&gt; 'xlarge', :id =&gt; 'admin_password' - if devise_mapping.rememberable? %div = f.check_box :remember_me = f.label :remember_me %div = f.submit "Sign up" </code></pre> <p>and this is the originally erb code:</p> <pre><code>&lt;div class="row show-grid"&gt; &lt;div class="span8 offset7"&gt; &lt;div class="page-header"&gt; &lt;h1&gt;Sign in&lt;/h1&gt; &lt;/div&gt; &lt;%= form_for(resource, :as =&gt; resource_name, :url =&gt; session_path(resource_name)) do |f| %&gt; &lt;div class="clearfix"&gt; &lt;%= f.label :email %&gt; &lt;div class="input"&gt; &lt;%= f.email_field :email, :class =&gt; 'xlarge', :id =&gt; 'admin_email' %&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="clearfix"&gt; &lt;%= f.label :password %&gt; &lt;div class="input"&gt; &lt;%= f.password_field :password, :class =&gt; 'xlarge', :id =&gt; 'admin_password' %&gt; &lt;/div&gt; &lt;/div&gt; &lt;% if devise_mapping.rememberable? -%&gt; &lt;div&gt;&lt;%= f.check_box :remember_me %&gt; &lt;%= f.label :remember_me %&gt;&lt;/div&gt; &lt;% end -%&gt; &lt;div&gt;&lt;%= f.submit "Sign up" %&gt;&lt;/div&gt; &lt;% end %&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload