Sha256: 70e309b10ada90183cdd22cb9f3d9e6ea4f51beb7a3ee5ad4fc4438e5e8da320

Contents?: true

Size: 854 Bytes

Versions: 67

Compression:

Stored size: 854 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 :existing_user_email, :label => 'Email' %>
    <%= form.input :existing_user_password, :label => 'Password' %>
  <% end -%>

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

Version data entries

67 entries across 67 versions & 1 rubygems

Version Path
saucy-0.2.1 app/views/invitations/show.html.erb
saucy-0.2.0 app/views/invitations/show.html.erb
saucy-0.1.18 app/views/invitations/show.html.erb
saucy-0.1.17 app/views/invitations/show.html.erb
saucy-0.1.16 app/views/invitations/show.html.erb
saucy-0.1.15 app/views/invitations/show.html.erb
saucy-0.1.14 app/views/invitations/show.html.erb