Sha256: 5d9ab3a02c788a21c1fbb990c9bb5d5e9ddd08a37e4252298a6b56f3462d2f9a

Contents?: true

Size: 462 Bytes

Versions: 18

Compression:

Stored size: 462 Bytes

Contents

%h1 Edit Post
- if @current_resource[:reply_to_id]
  - replying_to = MongoidForums::Post.find(@current_resource[:reply_to_id])
  This post is a reply to
  = replying_to.user.forum_display_name
  %br
  >
  = replying_to.text
  %br
  %br

= form_for ([@current_resource.topic, @current_resource]) do |f|
  = f.label :text
  %br
  = render :partial => "form", :locals => { :f => f }
  %br
  = f.submit "Update post", :class => "btn", :disable_with => "Updating..."

Version data entries

18 entries across 18 versions & 2 rubygems

Version Path
mongoid-forums-1.0.7 app/views/mongoid_forums/posts/edit.haml
mongoid-forums-1.0.6 app/views/mongoid_forums/posts/edit.haml
ack-mongoid-forums-1.0.6.1 app/views/mongoid_forums/posts/edit.haml
ack-mongoid-forums-1.0.6 app/views/mongoid_forums/posts/edit.haml
ack-mongoid-forums-1.0.5 app/views/mongoid_forums/posts/edit.haml
mongoid-forums-1.0.4 app/views/mongoid_forums/posts/edit.haml
mongoid-forums-1.0.3 app/views/mongoid_forums/posts/edit.haml
mongoid-forums-1.0.2 app/views/mongoid_forums/posts/edit.haml
mongoid-forums-1.0.1 app/views/mongoid_forums/posts/edit.haml
mongoid-forums-1.0.0 app/views/mongoid_forums/posts/edit.haml
mongoid-forums-0.0.11 app/views/mongoid_forums/posts/edit.haml
mongoid-forums-0.0.10 app/views/mongoid_forums/posts/edit.haml
mongoid-forums-0.0.9 app/views/mongoid_forums/posts/edit.haml
mongoid-forums-0.0.5 app/views/mongoid_forums/posts/edit.haml
mongoid-forums-0.0.4 app/views/mongoid_forums/posts/edit.haml
mongoid-forums-0.0.3 app/views/mongoid_forums/posts/edit.haml
mongoid-forums-0.0.2 app/views/mongoid_forums/posts/edit.haml
mongoid-forums-0.0.1 app/views/mongoid_forums/posts/edit.haml