Sha256: acd78fc8bc6710dcadeebf4ce2133f6b9a159b127ea7d8db34e2c0d1561b800d

Contents?: true

Size: 902 Bytes

Versions: 1

Compression:

Stored size: 902 Bytes

Contents

<h2>Sign up</h2>

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

1 entries across 1 versions & 1 rubygems

Version Path
saucy-0.1.13 app/views/accounts/new.html.erb