This repository has been archived on 2020-05-27. You can view files and clone it, but cannot push or open issues/pull-requests.
tuxbliki/app/views/authors/_author_form.html.erb

21 lines
667 B
Plaintext
Raw Permalink Normal View History

2008-06-27 00:13:15 -04:00
<fieldset>
<legend>Create an author</legend>
<p>
2008-10-01 02:57:49 -04:00
<%= text_field :name, :label => 'Name: ' %>
2008-06-27 00:13:15 -04:00
</p>
2008-10-01 02:57:49 -04:00
<% if @author.new_record? -%>
2008-06-27 00:13:15 -04:00
<p>
Invitation Code: <strong><em><%= (params[:invitation_code].to_s.empty? ? 'None! This will not work!' : params[:invitation_code]) -%><%= hidden_field :name => 'invitation_code', :value => params[:invitation_code] -%></em></strong>
</p>
2008-10-01 02:57:49 -04:00
<% end -%>
2008-06-27 00:13:15 -04:00
<p>
2008-10-01 02:57:49 -04:00
<%= text_field :url, :label => 'Home URL: ' %>
2008-06-27 00:13:15 -04:00
</p>
<p>
2008-10-01 02:57:49 -04:00
<%= password_field :password, :label => 'Password: ', :size => 40 %>
2008-06-27 00:13:15 -04:00
</p>
<p>
2008-10-01 02:57:49 -04:00
<%= password_field :password_confirmation, :label => 'Password (Confirm): ', :size => 40 %>
2008-06-27 00:13:15 -04:00
</p>
2008-10-01 02:57:49 -04:00
</fieldset>