Commit 9dfe40b5215d0f3e762f3c0b1d655219c676ff89
- Date: Sat Jan 12 13:11:07 +0000 2008
- Committer: Johan Sørensen (johan@johansorensen.com)
- Author: Johan Sørensen (johan@johansorensen.com)
- Commit SHA1: 9dfe40b5215d0f3e762f3c0b1d655219c676ff89
- Tree SHA1: 87588ab5cc9b6ad2eeac371e78049a283cb0e992
Commit diff
- Diff rendering mode:
- inline
- side by side
app/views/comments/_form.html.erb
|   | ||
| 1 | 1 | <% comment ||= nil -%> |
| 2 | 2 | <% sha1 ||= nil -%> |
| 3 | 3 | |
| 4 | ||
| 4 | <h3>Add a new comment:</h3> | |
| 5 | 5 | |
| 6 | 6 | <% if logged_in? -%> |
| 7 | 7 | <%= error_messages_for :comment -%> |
| … | … | |
| 10 | 10 | <%= f.hidden_field :sha1, :value => sha1 -%> |
| 11 | 11 | <% end -%> |
| 12 | 12 | <p> |
| 13 | ||
| 13 | <%= f.label :body, "Comment" -%><br /> | |
| 14 | 14 | <%= f.text_area :body, :class => "text medium" -%> |
| 15 | 15 | </p> |
| 16 | 16 | <p> |
| toggle raw diff | ||
