Sha256: 932c94782fd1b89f165306a7b2dc726b1e58c3b6c4de8613f9d355361ad4ea16

Contents?: true

Size: 1.37 KB

Versions: 16

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| %>
  <%= form.error_messages %>

  <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 -%>

  <div class="plan chosen">
    <h3>You're signing up for:</h3>
    <%= render @plan %>
  </div>

  <% 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 :partial => "shared/saucy_javascript" %>

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
saucy-0.2.15 app/views/accounts/new.html.erb
saucy-0.2.14 app/views/accounts/new.html.erb
saucy-0.2.13 app/views/accounts/new.html.erb
saucy-0.2.12 app/views/accounts/new.html.erb
saucy-0.2.11 app/views/accounts/new.html.erb
saucy-0.2.10 app/views/accounts/new.html.erb
saucy-0.2.9 app/views/accounts/new.html.erb
saucy-0.2.8.1 app/views/accounts/new.html.erb
saucy-0.2.8 app/views/accounts/new.html.erb
saucy-0.2.7 app/views/accounts/new.html.erb
saucy-0.2.6.1 app/views/accounts/new.html.erb
saucy-0.2.6 app/views/accounts/new.html.erb
saucy-0.2.5 app/views/accounts/new.html.erb
saucy-0.2.4.1 app/views/accounts/new.html.erb
saucy-0.2.4 app/views/accounts/new.html.erb
saucy-0.2.3 app/views/accounts/new.html.erb