app/views/jabe/sessions/new.html.erb in jabe-0.7.0 vs app/views/jabe/sessions/new.html.erb in jabe-0.8.0

- old
+ new

@@ -1,15 +1,18 @@ <h2>Sign in</h2> -<%= simple_form_for(resource, :as => resource_name, :url => session_path(resource_name)) do |f| %> +<%= form_for(resource, :as => resource_name, :url => session_path(resource_name)) do |f| %> <div class="inputs"> - <%= f.input :email, :required => false, :autofocus => true %> - <%= f.input :password, :required => false %> - <%= f.input :remember_me, :as => :boolean if devise_mapping.rememberable? %> + <%= f.label :email %> + <%= f.text_field :email, :required => false, :autofocus => true %> + + <%= f.label :password %> + <%= f.text_field :password, :required => false %> + + <%= f.label :remember_me %> + <%= f.check_box :remember_me, :as => :boolean if devise_mapping.rememberable? %> </div> <div class="actions"> - <%= f.button :submit, "Sign in" %> + <%= f.submit "Sign in" %> </div> <% end %> - -<%= render :partial => "devise/shared/links" %> \ No newline at end of file