Sha256: 84974ac06c439e74f304fc3758963d2b101cd802adcb0e70aa353f49815ccfe5

Contents?: true

Size: 798 Bytes

Versions: 2

Compression:

Stored size: 798 Bytes

Contents

<% content_for :title do %>Sign up<% end %>
<%- if Headstart.configuration.use_facebook_connect -%>
  <%- if request.ssl? -%>
    <%= javascript_include_tag 'https://ssl.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php/en_US' %>
  <%- else -%>
    <%= javascript_include_tag 'http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php/en_US' %>
  <%- end -%>

<%- end -%>

<h2>Sign up</h2>

<% form_for @user, :html => { :enctype => "multipart/form-data"} do |form| %>
  <%= render :partial => '/users/form', :object => form %>
  <%= form.submit 'Sign up', :disable_with => 'Please wait...' %>
<% end %>

<%- if Headstart.configuration.use_facebook_connect -%>
  <div style="margin-top:20px">
	<%= link_to image_tag("facebook_login.png"), @oauth_url %>
  </div>
<%- end -%>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
headstart-0.11.2 app/views/users/new.html.erb
headstart-0.11.1 app/views/users/new.html.erb