-
-
Notifications
You must be signed in to change notification settings - Fork 46
Open
Description
When converting passwords/edit.html.erb of the Clearance gem, the following snippet...
<%= form_for :password_reset,
url: user_password_path(@user, token: @user.confirmation_token),
html: { method: :put } do |form| %>
<div class="password-field">
<%= form.label :password %>
<%= form.password_field :password %>
</div>
<div class="submit-field">
<%= form.submit %>
</div>
<% end %>
...Is converted to:
= form_for :password_reset,
- url: user_password_path(@user, token: @user.confirmation_token),
- html: { method: :put } do |form|
.password-field
= form.label :password
= form.password_field :password
.submit-field
= form.submit
Note the incorrect field indentation, in addition to the incorrect argument formatting. Perhaps it is the same underlying issue though? (i.e. if the multi-line arguments were correctly recognized and formatted, then the block would be too?)
masciugo
Metadata
Metadata
Assignees
Labels
No labels