Sha256: 12c8817ed2a97e05095c39488c783ccf072fef62b1a68456f857a188516c9472

Contents?: true

Size: 820 Bytes

Versions: 8

Compression:

Stored size: 820 Bytes

Contents

<h1><%= :edit_post.l %></h1>

<h2><%= link_to h(@post.topic.title), forum_topic_path(@post.forum_id, @post.topic) %></h2>

<%= link_to(:delete_this_post.l, sb_post_path(:forum_id => @post.forum_id, :topic_id => @post.topic, :id => @post, :page => params[:page]), 
      :class => "utility", :method => :delete, :confirm => :are_you_sure_you_want_to_delete_this_post.l) %>

<%= error_messages_for :topic %>
<% form_for :post, :html => { :method => :put }, 
     :url  => sb_post_path(:forum_id => params[:forum_id], :id => params[:topic_id], :id => @post, :page => params[:page]) do |f| -%>
<%= f.text_area :body, :class => "rich_text_editor" %>
<%= submit_tag :save.l %> <%= :or.l %> <%= link_to :cancel.l, forum_topic_path(:forum_id => params[:forum_id], :id => params[:topic_id], :page => params[:page]) %>
<% end -%>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
community_engine-2.3.2 app/views/sb_posts/edit.html.erb
community_engine-2.3.1 app/views/sb_posts/edit.html.erb
community_engine-2.3.0 app/views/sb_posts/edit.html.erb
community_engine-2.1.0 app/views/sb_posts/edit.html.erb
community_engine-2.0.0 app/views/sb_posts/edit.html.erb
community_engine-2.0.0.beta3 app/views/sb_posts/edit.html.erb
community_engine-2.0.0.beta2 app/views/sb_posts/edit.html.erb
community_engine-2.0.0.beta1 app/views/sb_posts/edit.html.erb