Skip to content

Commit

Permalink
temp removed autofocus and ssl
Browse files Browse the repository at this point in the history
  • Loading branch information
ACPK committed Oct 22, 2014
1 parent 9de19c3 commit 67d648a
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 10 deletions.
8 changes: 3 additions & 5 deletions app/assets/templates/events.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
%form{"ng-init" => "registrationForm = {}", "ng-submit" => "submitRegistration(registrationForm)", :role => "form"}
.col-md-6.col-md-offset-2
.form-group
%input.form-control{:name => "email", "ng-model" => "registrationForm.email", :placeholder => 'Email', :required => "required", :type => "email", :autofocus => true }
%input.form-control{:name => "email", "ng-model" => "registrationForm.email", :placeholder => 'Email', :required => "required", :type => "email"}
.col-md-2
.form-group
%button.btn.btn-danger.btn-block{:type => "submit"} Sign Up
Expand All @@ -16,9 +16,7 @@
{{event.start_time | date:'h:mm a'}}
%a{:href => "{{event.url}}"}
.media-body
%h3.media-heading
%h4.media-heading
{{event.name}}
%br/
%small {{event.location}}
%br/
%small {{event.description}}
%small {{event.location}}
4 changes: 2 additions & 2 deletions app/assets/templates/resources.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
%form{"ng-init" => "registrationForm = {}", "ng-submit" => "submitRegistration(registrationForm)", :role => "form"}
.col-md-6.col-md-offset-2
.form-group
%input.form-control{:name => "email", "ng-model" => "registrationForm.email", :placeholder => 'Email', :required => "required", :type => "email", :autofocus => true }
%input.form-control{:name => "email", "ng-model" => "registrationForm.email", :placeholder => 'Email', :required => "required", :type => "email"}
.col-md-2
.form-group
%button.btn.btn-danger.btn-block{:type => "submit"} Sign Up
.list-group-item.media.events{"ng-repeat" => "resource in resources"}
%a{:href => "{{resource.url}}"}
.media-body
%h3.media-heading
%h4.media-heading
{{resource.name}}
%br/
%small {{resource.description}}
4 changes: 2 additions & 2 deletions app/assets/templates/startups.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
%form{"ng-init" => "registrationForm = {}", "ng-submit" => "submitRegistration(registrationForm)", :role => "form"}
.col-md-6.col-md-offset-2
.form-group
%input.form-control{:name => "email", "ng-model" => "registrationForm.email", :placeholder => 'Email', :required => "required", :type => "email", :autofocus => true }
%input.form-control{:name => "email", "ng-model" => "registrationForm.email", :placeholder => 'Email', :required => "required", :type => "email"}
.col-md-2
.form-group
%button.btn.btn-danger.btn-block{:type => "submit"} Sign Up
.list-group-item.media.events{"ng-repeat" => "startup in startups"}
%a{:href => "{{startup.url}}"}
.media-body
%h3.media-heading
%h4.media-heading
{{startup.name}}
%br/
%small {{startup.description}}
1 change: 1 addition & 0 deletions app/views/api/v1/startups/index.json.jbuilder
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ json.array! @startups do |startup|
json.name startup.name
json.description startup.description
json.url startup.url
json.crunchbase startup.crunchbase
end
2 changes: 1 addition & 1 deletion config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Settings specified here will take precedence over those in config/application.rb.

# SSL
config.middleware.use Rack::SslEnforcer
# config.middleware.use Rack::SslEnforcer

# SEO
config.middleware.use Rack::Prerender, prerender_token: ENV["PRERENDER_TOKEN"]
Expand Down

0 comments on commit 67d648a

Please sign in to comment.