Sha256: 95979afc33a50f26968b58d91d5232f3599b224a6a9b5ff6944d1101068b3eb7
Contents?: true
Size: 815 Bytes
Versions: 3
Compression:
Stored size: 815 Bytes
Contents
<h1><%= 'Edit Post' %></h1> <h2><%= link_to h(@post.topic.title), forum_topic_path(@post.forum_id, @post.topic) %></h2> <%= link_to('Delete post', post_path(:forum_id => @post.forum_id, :topic_id => @post.topic, :id => @post, :page => params[:page]), :class => "utility", :method => :delete, :confirm => 'Delete this post forever?'[:delete_post_conf]) %> <%= error_messages_for :topic %> <% form_for :post, :html => { :method => :put }, :url => post_path(:forum_id => params[:forum_id], :topic_id => params[:topic_id], :id => @post, :page => params[:page]) do |f| -%> <p id="post_body"><%= f.text_area :body %></p> <%= submit_tag 'Save'[:save_title] %> or <%= link_to 'cancel', forum_topic_path(:forum_id => params[:forum_id], :topic_id => params[:topic_id], :page => params[:page]) %> <% end -%>
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
tamed_beast-0.0.3 | app/views/posts/edit.html.erb |
tamed_beast-0.0.2 | app/views/posts/edit.html.erb |
tamed_beast-0.0.1 | app/views/posts/edit.html.erb |