Sha256: 869d25083fa7dbfd823388503093b64c30a0df6a9ff2ce11c23ee13af0763036

Contents?: true

Size: 866 Bytes

Versions: 7

Compression:

Stored size: 866 Bytes

Contents

<% content_for :header do -%>
  <h2>Accept invitation to <%= @invitation.account_name %></h2>
<% end -%>

<%= semantic_form_for @invitation do |form| %>
  <h5 class="legend">I am a new user</h5>
  <%= form.inputs :class => 'new_user' do -%>
    <%= form.input :new_user_email, :label => 'Email' %>
    <%= form.input :new_user_name, :label => 'Name' %>
    <%= form.input :new_user_password, :label => 'Password' %>
    <%= form.input :new_user_password_confirmation, :label => 'Confirm password' %>
  <% end -%>

  <h5 class="legend">I am an existing user</h5>
  <%= form.inputs :class => 'existing_user' do -%>
    <%= form.input :authenticating_user_email, :label => 'Email' %>
    <%= form.input :authenticating_user_password, :label => 'Password' %>
  <% end -%>

  <%= form.buttons do %>
    <%= form.commit_button "Accept Invitation" %>
  <% end %>
<% end %>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
saucy-0.5.5 app/views/invitations/show.html.erb
saucy-0.5.4 app/views/invitations/show.html.erb
saucy-0.5.3 app/views/invitations/show.html.erb
saucy-0.5.2 app/views/invitations/show.html.erb
saucy-0.5.1 app/views/invitations/show.html.erb
saucy-0.5.0 app/views/invitations/show.html.erb
saucy-0.4.10 app/views/invitations/show.html.erb