diff --git a/app/assets/templates/events.html.haml b/app/assets/templates/events.html.haml index c1811be..a24cc3d 100644 --- a/app/assets/templates/events.html.haml +++ b/app/assets/templates/events.html.haml @@ -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 @@ -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}} \ No newline at end of file + %small {{event.location}} \ No newline at end of file diff --git a/app/assets/templates/resources.html.haml b/app/assets/templates/resources.html.haml index 8b57892..cb8ede2 100644 --- a/app/assets/templates/resources.html.haml +++ b/app/assets/templates/resources.html.haml @@ -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}} \ No newline at end of file diff --git a/app/assets/templates/startups.html.haml b/app/assets/templates/startups.html.haml index 7d22abb..ee4db6c 100755 --- a/app/assets/templates/startups.html.haml +++ b/app/assets/templates/startups.html.haml @@ -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}} \ No newline at end of file diff --git a/app/views/api/v1/startups/index.json.jbuilder b/app/views/api/v1/startups/index.json.jbuilder index ab6c972..92a3556 100644 --- a/app/views/api/v1/startups/index.json.jbuilder +++ b/app/views/api/v1/startups/index.json.jbuilder @@ -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 \ No newline at end of file diff --git a/config/environments/production.rb b/config/environments/production.rb index 2bd892a..1fb3559 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -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"]