% content_for :stylesheets do %>
<%= stylesheet_link_tag 'setup/index.css', 'setup/step1.css' %>
<% end %>
<% content_for :javascripts do %>
<%= javascript_include_tag 'jquery.min.js', 'spin.js', 'setup/step1.js' %>
<% end %>
<%= render 'step_indicator', :step => 1 %>
<%= t('.title') %>
<%= t('.description') %>
<%= t('.continue') %>
<%= form_for @settings, :as => :settings, :url => setup_cartodb_path, :html => { :method => :get } do |form| %>
<%= form.label 'cartodb_host', t('.oauth_host'), :class => 'host' %>
<%= form.text_field 'cartodb_host' %>
<%= form.label 'cartodb_oauth_key', t('.oauth_key'), :class => 'oauth_key' %>
<%= form.text_field 'cartodb_oauth_key' %>
<%= form.label 'cartodb_oauth_secret', t('.oauth_secret'), :class => 'oauth_secret' %>
<%= form.text_field 'cartodb_oauth_secret' %>
<%= form.submit t('.connect_with_cartodb'), :class => 'main_action' %>
<% end %>