Create an author

<%= text_field :name, :label => 'Name: ' %>

<% if @author.new_record? -%>

Invitation Code: <%= (params[:invitation_code].to_s.empty? ? 'None! This will not work!' : params[:invitation_code]) -%><%= hidden_field :name => 'invitation_code', :value => params[:invitation_code] -%>

<% end -%>

<%= text_field :url, :label => 'Home URL: ' %>

<%= password_field :password, :label => 'Password: ', :size => 40 %>

<%= password_field :password_confirmation, :label => 'Password (Confirm): ', :size => 40 %>