Sha256: e1f0fc50cbb09c4af6777bc1f4df4bf0e3be6294b90a160e8ac26f000bb91d21

Contents?: true

Size: 945 Bytes

Versions: 5

Compression:

Stored size: 945 Bytes

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 %>
    <%= 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" %>
      <%= form.input :email %>
      <%= form.input :password %>
      <%= form.input :password_confirmation, :label => "Confirm password", :required => true %>
    <% end -%>
  <% end -%>

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

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
saucy-0.1.18 app/views/accounts/new.html.erb
saucy-0.1.17 app/views/accounts/new.html.erb
saucy-0.1.16 app/views/accounts/new.html.erb
saucy-0.1.15 app/views/accounts/new.html.erb
saucy-0.1.14 app/views/accounts/new.html.erb