Sha256: 27a4a8af6fd5c602d201ad595773ffbca8393a676413bb499972f80d73eadb6e

Contents?: true

Size: 1.37 KB

Versions: 11

Compression:

Stored size: 1.37 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>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

11 entries across 11 versions & 1 rubygems

Version Path
saucy-0.2.28.1 app/views/accounts/new.html.erb
saucy-0.2.38 app/views/accounts/new.html.erb
saucy-0.2.36 app/views/accounts/new.html.erb
saucy-0.2.35 app/views/accounts/new.html.erb
saucy-0.2.34 app/views/accounts/new.html.erb
saucy-0.2.33 app/views/accounts/new.html.erb
saucy-0.2.32 app/views/accounts/new.html.erb
saucy-0.2.31 app/views/accounts/new.html.erb
saucy-0.2.30 app/views/accounts/new.html.erb
saucy-0.2.29 app/views/accounts/new.html.erb
saucy-0.2.28 app/views/accounts/new.html.erb