Sha256: 0384f73985790fd7cf664d7aad757ba4182aad24abc031e7ec55a4fbcd72b50a

Contents?: true

Size: 801 Bytes

Versions: 2

Compression:

Stored size: 801 Bytes

Contents

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

<%= semantic_form_for [current_account, @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' %>
  <% 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

2 entries across 2 versions & 1 rubygems

Version Path
saucy-0.16.1 app/views/invitations/show.html.erb
saucy-0.16.0 app/views/invitations/show.html.erb