Sha256: acd8251604017f6f13b3f85ac7e72d595cd07a92ad11569ae1b937849eec3df3

Contents?: true

Size: 1.38 KB

Versions: 14

Compression:

Stored size: 1.38 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 %>
  </div>

  <h5 class="legend">Basic Information</h5>
  <%= form.inputs do %>
    <%= form.input :account_name, :label => 'Company Name', :hint => account_url(Account.new(:keyword => 'keyword')).html_safe, :required => true %>
    <%= form.input :keyword, :wrapper_html => { :style => 'display: none' } %>
  <% end %>

  <% unless signed_in? -%>
    <h5 class="legend">User Information</h5>
    <%= form.inputs do %>
      <%= form.input :user_name, :label => "Your name", :required => true  %>
      <%= form.input :email, :required => true  %>
      <%= form.input :password, :required => true  %>
      <%= form.input :password_confirmation, :label => "Confirm password", :required => true %>
    <% end -%>
  <% 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

14 entries across 14 versions & 1 rubygems

Version Path
saucy-0.3.4.1 app/views/accounts/new.html.erb
saucy-0.4.0 app/views/accounts/new.html.erb
saucy-0.3.4 app/views/accounts/new.html.erb
saucy-0.3.3 app/views/accounts/new.html.erb
saucy-0.3.2 app/views/accounts/new.html.erb
saucy-0.3.1 app/views/accounts/new.html.erb
saucy-0.3.0 app/views/accounts/new.html.erb
saucy-0.2.45 app/views/accounts/new.html.erb
saucy-0.2.44 app/views/accounts/new.html.erb
saucy-0.2.43 app/views/accounts/new.html.erb
saucy-0.2.42 app/views/accounts/new.html.erb
saucy-0.2.41 app/views/accounts/new.html.erb
saucy-0.2.40 app/views/accounts/new.html.erb
saucy-0.2.39 app/views/accounts/new.html.erb