<%= form_for(@user, html: { id: "ux-customization-form" }) do |f| %>

Style Customization

<%= f.label :config_theme, "Site Theme" %>
<% ["default", "night theme", "minimal light theme", "pink theme", "ten x hacker theme"].each do |theme| %> <%= render partial: "theme_selector", locals: { f: f, theme: theme } %> <% end %>
<%= f.label :config_font, "Base Reading Font" %>
<% ["default", "sans serif", "monospace", "comic sans", "open dyslexic"].each do |font| %> <%= render partial: "font_selector", locals: { f: f, font: font } %> <% end %>
<%= f.label :config_navbar, "Site Navbar" %>
<% ["default", "static"].each do |navbar| %> <%= render partial: "navbar_selector", locals: { f: f, navbar: navbar } %> <% end %>

Writing

<%= f.label :editor_version, "Editor Version" %>
<% ["v1", "v2"].each do |version| %> <%= render partial: "editor_selector", locals: { f: f, version: version } %> <% end %>

Content Customization

<%= f.label :experience_level, "What is your approximate coding experience level (1-5)?" %>
<% ["1", "3", "5", "8", "10"].each_with_index do |exp, i| %> <%= render partial: "experience_selector", locals: { f: f, exp: exp, i: i } %> <% end %>
This will not be displayed on your profile or anywhere publicly. It helps gently determine what content you are shown along with tags you follow etc.
<%= f.hidden_field :tab, value: @tab, id: nil %> <%= f.submit "SUBMIT", class: "cta" %>
<% end %>