Sha256: 57e084ce17b0e041a505c3666761cf0c4fbd4c6e23d4a908b7019bd26197b69f

Contents?: true

Size: 1.16 KB

Versions: 24

Compression:

Stored size: 1.16 KB

Contents

=raw session[:comment_errors] if session[:comment_errors]

#new-comment
  %h2 Add a Comment
  = form_for @comment do |f|
    = error_messages_for :comment, :header_message => nil  
    = f.hidden_field :commentable_type, :value => object.class
    = f.hidden_field :commentable_id, :value => object.id
    = f.hidden_field :controller, :value => object.class.to_s.downcase.pluralize
    #comment-message
      %strong Your Comment:
      %br/
      = f.text_area :content, :tabindex => 1
      
      %p
        %label
          = f.check_box :subscribe, :tabindex => 5
          Notify Me of New Comments
    #comment-details
      %p
        %strong Your Name:
        = f.text_field :author, :class => 'textfield', :tabindex => 2
      
      %p
        %strong 
          Your Email Address:
          %small (Won't be published)
        = f.text_field :author_email, :class => 'textfield', :tabindex => 3
      
      %p
        %strong 
          Your Website:
          %small (If you've got one)
        = f.text_field :author_url, :class => 'textfield', :tabindex => 4
      
      %p{:style => "text-align: right;"}= f.submit "Add Comment", :class => 'submit'
  
  .spacer

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
forge-cli-0.1.10 lib/forge/app/views/comments/_form.html.haml
forge-cli-0.1.9 lib/forge/app/views/comments/_form.html.haml
forge-cli-0.1.8 lib/forge/app/views/comments/_form.html.haml
forge-cli-0.1.7 lib/forge/app/views/comments/_form.html.haml
forge-cli-0.1.6 lib/forge/app/views/comments/_form.html.haml
forge-cli-0.1.5 lib/forge/app/views/comments/_form.html.haml
forge-cli-0.1.4 lib/forge/app/views/comments/_form.html.haml
forge-cli-0.1.3 lib/forge/app/views/comments/_form.html.haml
forge-cli-0.1.2 lib/forge/app/views/comments/_form.html.haml
forge-cli-0.1.1 lib/forge/app/views/comments/_form.html.haml
forge-cli-0.1.0 lib/forge/app/views/comments/_form.html.haml
forge-cli-0.0.18 lib/forge/app/views/comments/_form.html.haml
forge-cli-0.0.17 lib/forge/app/views/comments/_form.html.haml
forge-cli-0.0.16 lib/forge/app/views/comments/_form.html.haml
forge-cli-0.0.15 lib/forge/app/views/comments/_form.html.haml
forge-cli-0.0.14 lib/forge/app/views/comments/_form.html.haml
forge-cli-0.0.13 lib/forge/app/views/comments/_form.html.haml
forge-cli-0.0.12 lib/forge/app/views/comments/_form.html.haml
forge-cli-0.0.11 lib/forge/app/views/comments/_form.html.haml
forge-cli-0.0.10 lib/forge/app/views/comments/_form.html.haml