Sha256: 82dcf2f95046d8d7896f132447a40ee200bf2d12399076008b51cefcaec8bfd9

Contents?: true

Size: 1.13 KB

Versions: 56

Compression:

Stored size: 1.13 KB

Contents

<% content_for :header do -%>
  <h2>Sign up</h2>
<% end -%>

<%= semantic_form_for @signup, :url => plan_accounts_path(@plan) do |form| %>
  <div class="plan chosen">
    <h3>You're signing up for:</h3>
    <%= render @plan %>
    <%= link_to "Change this plan", plans_path %>
  </div>

  <% unless signed_in? -%>
    <h5 class="legend">User Information</h5>
    <%= form.inputs do %>
      <%= form.input :email, :required => true  %>
      <%= form.input :password, :required => true  %>
    <% end -%>
  <% else -%>
    <p id="existing-user-text">Your existing user, <strong><%= current_user.name %></strong>, will be added as the first administrator on this new account.</p>
  <% end -%>

  <% if @plan.billed? -%>
    <h5 class="legend">Billing Information</h5>
    <%= render :partial => 'billings/form', :locals => { :form => form } %>
  <% end -%>

  <p id="terms-text">By clicking <strong>Sign up</strong> you agree to our <%= link_to "Terms of Service", "/pages/terms" %>.</p>

  <%= form.buttons do %>
    <%= form.commit_button "Sign up" %>
  <% end %>
<% end %>

<%= render "plans/terms" %>

<%= render :partial => "shared/saucy_javascript" %>

Version data entries

56 entries across 56 versions & 2 rubygems

Version Path
saucy-0.12.2 app/views/accounts/new.html.erb
saucy-0.12.1 app/views/accounts/new.html.erb
saucy-0.12.0 app/views/accounts/new.html.erb
saucy-0.11.5 app/views/accounts/new.html.erb
saucy-0.11.3 app/views/accounts/new.html.erb
saucy-0.11.2 app/views/accounts/new.html.erb
saucy-0.10.7 app/views/accounts/new.html.erb
saucy-0.10.6 app/views/accounts/new.html.erb
saasy-0.0.2.alpha3 app/views/accounts/new.html.erb
saasy-0.0.2.alpha2 app/views/accounts/new.html.erb
saasy-0.0.2.alpha1 app/views/accounts/new.html.erb
saucy-0.10.5 app/views/accounts/new.html.erb
saucy-0.10.4 app/views/accounts/new.html.erb
saucy-0.10.3 app/views/accounts/new.html.erb
saucy-0.10.2 app/views/accounts/new.html.erb
saucy-0.10.1 app/views/accounts/new.html.erb
saucy-0.10.0 app/views/accounts/new.html.erb
saucy-0.9.1 app/views/accounts/new.html.erb
saucy-0.9.0 app/views/accounts/new.html.erb
saucy-0.8.5 app/views/accounts/new.html.erb