<% if @user.identities.find_by(provider:'github').nil? %>
CONNECT GITHUB ACCOUNT
<% end %> <% if @user.identities.find_by(provider:'twitter').nil? %>
<%= ApplicationConfig["APP_DOMAIN"] %>/users/auth/twitter/callback" class="big-button cta" data-no-instant> CONNECT TWITTER ACCOUNT
<% end %>

Add the DEV badge to your personal site. Click here for the code

<%= form_for(@user) do |f| %>
<%= f.label :email %> <%= f.text_field :email %>
<%= f.label :email_public, "Display email on profile" %> <%= f.check_box :email_public %>
<%= f.label :username %> <%= f.text_field :username, maxlength: 30 %> Signing out and back in will update your Twitter/Github username.
<%= f.label :name %> <%= f.text_field :name %>
<%= f.label :profile_image %>
<% if @user.profile_image_url.present? %> <%= @user.username %> profile image <%= f.file_field :profile_image %> <% end %>
<%= f.label :looking_for_work %> <%= f.check_box :looking_for_work %>
<%= f.label :looking_for_work_publicly, "Display \"looking for work\" on profile"%> <%= f.check_box :looking_for_work_publicly %>
<%= f.label :contact_consent, "Recruiters can contact me about job opportunities"%> <%= f.check_box :contact_consent %>
<%= f.label :website_url %> <%= f.url_field :website_url, maxlength: 64, placeholder: "http://yoursite.com" %>
<%= f.label :summary %> <%= f.text_area :summary, placeholder: "a short bio.", maxlength: 200 %>
<% @user.bg_color_hex = user_colors(@user)[:bg] if @user.bg_color_hex.blank? %> <%= f.label :bg_color_hex, "background color" %> <%= f.text_field :bg_color_hex, placeholder: "#000000", class: "jscolor {hash:true}" %>
<% @user.bg_color_hex = user_colors(@user)[:text] if @user.text_color_hex.blank? %> <%= f.label :text_color_hex, "text color" %> <%= f.text_field :text_color_hex, placeholder: "#ffffff", class: "jscolor {hash:true}" %>
<%= f.label :location %> <%= f.text_field :location, maxlength: 64 %>
<%= f.label :education %> <%= f.text_field :education, maxlength: 64 %>
<%= f.label :employer_name %> <%= f.text_field :employer_name, maxlength: 64 %>
<%= f.label :employer_url %> <%= f.text_field :employer_url, maxlength: 64 %>
<%= f.label :employment_title %> <%= f.text_field :employment_title, maxlength: 64 %>
<%= f.label :mostly_work_with, "Skills/Languages" %> <%= f.text_area :mostly_work_with, placeholder: "What tools and languages are you most experienced with? are you specialized or more of a generalist?", maxlength: 640 %>
<%= f.label :currently_learning, "I'm getting into" %> <%= f.text_area :currently_learning, placeholder: "What are you learning right now? what are the new tools and languages you're picking up in 2018?", maxlength: 640 %>
<%= f.label :currently_hacking_on, "My projects and hacks" %> <%= f.text_area :currently_hacking_on, placeholder: "What projects are currently occupying most of your time?", maxlength: 640 %>
<%= f.label :available_for %> <%= f.text_area :available_for, placeholder: "What kinds of collaborations or discussions are you available for? what's a good reason to say hey to you these days?", maxlength: 640 %>

Links

<%= f.label :facebook_url %> <%= f.text_field :facebook_url %>
<%= f.label :stackoverflow_url %> <%= f.url_field :stackoverflow_url %>
<%= f.label :linkedin_url %> <%= f.url_field :linkedin_url %>
<%= f.label :behance_url %> <%= f.url_field :behance_url %>
<%= f.label :dribbble_url %> <%= f.url_field :dribbble_url %>
<%= f.label :medium_url %> <%= f.url_field :medium_url %>
<%= f.label :gitlab_url %> <%= f.url_field :gitlab_url %>
<%= f.hidden_field :tab, value: @tab %> <%= f.submit "SUBMIT", class: "cta" %>
<% end %>