app/views/invoice_bar/users/signup.html.erb in invoice_bar-0.0.6 vs app/views/invoice_bar/users/signup.html.erb in invoice_bar-0.0.7
- old
+ new
@@ -1,25 +1,25 @@
<div id="auth-form">
- <%= form_for(@user) do |f| %>
- <% if @user.errors.any? %>
- <div id="error_explanation">
- <h2><%= pluralize(@user.errors.count, "error") %> prohibited this user from being saved:</h2>
-
- <ul>
- <% @user.errors.full_messages.each do |msg| %>
- <li><%= msg %></li>
- <% end %>
- </ul>
- </div>
- <% end %>
-
- <div class="field">
- <%= f.label :email, I18n.t('attributes.user.email') %>
- <%= f.text_field :email %>
- </div>
- <div class="field">
- <%= f.label :password, I18n.t('attributes.user.password') %>
- <%= f.text_field :password %>
- </div>
- <%= f.submit I18n.t('buttons.signup'), :class => 'main' %>
- <% end %>
-</div>
\ No newline at end of file
+ <%= form_for(@user) do |f| %>
+ <% if @user.errors.any? %>
+ <div id="error_explanation">
+ <h2>
+ <%= pluralize(@user.errors.count, "error") %> prohibited this user from being saved:
+ </h2>
+ <ul>
+ <% @user.errors.full_messages.each do |msg| %>
+ <li><%= msg %></li>
+ <% end %>
+ </ul>
+ </div>
+ <% end %>
+ <div class="field">
+ <%= f.label :email, I18n.t('attributes.user.email') %>
+ <%= f.text_field :email %>
+ </div>
+ <div class="field">
+ <%= f.label :password, I18n.t('attributes.user.password') %>
+ <%= f.text_field :password %>
+ </div>
+ <%= f.submit I18n.t('buttons.signup'), class: 'main' %>
+ <% end %>
+</div>