Skip to content

Commit

Permalink
include line break in conditional too
Browse files Browse the repository at this point in the history
  • Loading branch information
parndt committed Mar 29, 2010
1 parent b429bf2 commit a68eda8
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -10,8 +10,8 @@
</div>
<div class='field'>
<%= f.label :password %>
<%= f.password_field :password %><br />
<% unless @user.new_record? %><span class="preview">Leaving password blank keeps the current password</span><% end %>
<%= f.password_field :password %>
<%= "<br /><span class='preview'>Leaving password blank keeps the current password</span>" unless @user.new_record? %>
</div>
<div class='field'>
<%= f.label :password_confirmation %>
Expand Down

0 comments on commit a68eda8

Please sign in to comment.