Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 488
- Log:
Jan 2024 forum updates
- Author:
- rool
- Date:
- Sun Jan 28 09:28:34 +0000 2024
- Size:
- 1783 Bytes
1 | <h1>Edit Post</h1> |
2 | |
3 | <h2><%= link_to h(@post.topic.title), topic_path(@post.forum_id, @post.topic) %></h2> |
4 | |
5 | <%= error_messages_for :topic %> |
6 | |
7 | <% form_for(:post, |
8 | { |
9 | :html => { :method => :put }, |
10 | :url => post_path(:forum_id => params[:forum_id], |
11 | :topic_id => params[:topic_id], |
12 | :id => @post) |
13 | } |
14 | ) do |f| -%> |
15 | <p id="post_body"><%= f.text_area :body %></p> |
16 | |
17 | <p align="right"> |
18 | <%= apphelp_pagination_fields() %> |
19 | <%= submit_tag 'Save' %>, |
20 | <%= link_to 'cancel', topic_path(:forum_id => params[:forum_id], :id => params[:topic_id], :page => params[:page], :posts_per_page => params[:posts_per_page]) %>, |
21 | </p> |
22 | <% end -%> |
23 | <% form_for(:post, |
24 | { |
25 | :html => { |
26 | :method => :delete, |
27 | :onsubmit => "return confirm('Are you sure you want to permanently delete this post?');" |
28 | }, |
29 | :url => post_path(:forum_id => params[:forum_id], |
30 | :topic_id => params[:topic_id], |
31 | :id => @post) |
32 | } |
33 | ) do |f| -%> |
34 | <p align="right"> |
35 | <%= apphelp_pagination_fields() %> |
36 | or <%= submit_tag('Delete post forever') %> |
37 | </p> |
38 | <% end -%> |
39 | |
40 | <p /> |
41 | <h5>Formatting Help</h5> |
42 | |
43 | <ul class="help"> |
44 | <li>*bold* _italics_ bq. <span>(quotes)</span></li> |
45 | <li>"IBM":http://www.ibm.com</li> |
46 | <li>* or # <span>(lists)</span></li> |
47 | </ul> |
48 | |
49 | See also the Textile reference <a href="https://textile-lang.com" target="_blank" onClick="quickRedReference(); return false;">here</a>. |
50 | Don't worry about making mistakes - after adding a reply, you can edit |
51 | your message as many times as you like. |