Sha256: 587c4b556a238662cec28ab6a712b43bfef4ecfe182962708b6f6d514b1ce6b2

Contents?: true

Size: 569 Bytes

Versions: 5

Compression:

Stored size: 569 Bytes

Contents

<%= f.error_messages %>
<% if f.object.new_record? && !governor_logged_in? %>
  <%= f.fields_for :commenter, Guest.new do |gf| %>
    <%= gf.text_field :name %> <%= gf.label :name, 'Name (required)' %><br/>
    <%= gf.text_field :email %> <%= gf.label :email, 'E-Mail (required, will not be published)' %><br/>
    <%= gf.text_field :website %> <%= gf.label :website %><br/>
  <% end %>
<% end %>
<%= f.text_field :title %> <%= f.label :title %><br/>
<%= f.text_area :content, :size => '50x7' %>
<p><%= f.submit "#{f.object.new_record? ? 'New' : 'Edit'} Comment" %></p>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
governor_comments-0.2.7 app/views/governor/comments/_form.html.erb
governor_comments-0.2.6 app/views/governor/comments/_form.html.erb
governor_comments-0.2.5 app/views/governor/comments/_form.html.erb
governor_comments-0.2.4 app/views/governor/comments/_form.html.erb
governor_comments-0.2.3 app/views/governor/comments/_form.html.erb