% provide(:head_title, t("users.settings.preferences.head_title")) %>
<%= render partial: "users/settings/navigation.html.erb" %>
<%= form_for(@user, url: update_preferences_path(format: :json), remote: true, html: { method: :put, "data-for" => "time_zone" }) do |f| %>
<%=t "users.settings.preferences.edit.time_zone_title" %>
<%= f.select :time_zone, ActiveSupport::TimeZone.all.collect {|tz| [tz.formatted_offset + " " + tz.name, tz.name] }, {}, {class: "form-control selectpicker", "data-role" => "clear"} %>
<%= t("users.settings.preferences.edit.time_zone_sublabel") %>
<% end %>
<% if Rails.configuration.x.enable_tutorial %>
<%= link_to t('users.settings.preferences.tutorial.repeat_tutorial'), tutorial_path(format: :json), remote: true, class: "btn btn-primary", id: "reset-tutorial-btn" %>
<% end %>