Sign Up
<% if oauth? %>
or sign up using your email
<% end %>
<%% if @signup.errors.any? %>
The form contains <%%= pluralize(@signup.errors.count, "error") %>.
<%% @signup.errors.full_messages.each do |msg| %>
- * <%%= msg %>
<%% end %>
<%% end %>
<%%= form_for @signup, url: signup_path do |f| %>
<%%= f.label "first_name" %>
<%%= f.text_field "first_name" %>
<%%= f.label "last_name" %>
<%%= f.text_field "last_name" %>
<%%= f.label "bio" %>
<%%= f.text_area "bio" %>
<%%= f.label "website" %>
<%%= f.text_field "website" %>
<%%= f.label "phone_number" %>
<%%= f.text_field "phone_number" %>
<%%= f.label "time_zone" %>
<%%= f.time_zone_select('time_zone', ActiveSupport::TimeZone.us_zones, :default => "Pacific Time (US & Canada)") %>
<%%= f.label "email" %>
<%%= f.text_field "email" %>
<% if username? %>
<%%= f.label "username" %>
<%%= f.text_field "username" %>
<% end %>
<%%= f.label "password" %>
<%%= f.password_field "password" %>
<%%= f.label "password_confirmation" %>
<%%= f.password_field "password_confirmation" %>
<%%= check_box_tag :remember_me, "1", true %>
<%%= f.submit "Sign up" %>
<%% end %>