Sha256: adf2bf62651ab150eafe7e130d370be595e410a8fc5faddcc1001dbc3c9c2683
Contents?: true
Size: 1.67 KB
Versions: 14
Compression:
Stored size: 1.67 KB
Contents
<h1>Comment <%= @comment.id %></h1> <form method="post" action="<%= url("/comments/#{@comment.id}") %>"> <input type="hidden" name="_method" value="put" /> <table class="table"> <tr> <td>Post </td> <td><a href="<%= url("/posts/#{@comment.post.id}") %>"><%= @comment.post.path %></a></td> </tr> <tr> <td>Comment ID</td> <td><%= @comment.id %></td> </tr> <tr> <td>Approved</td> <td> <span><%= @comment.approved %></span> <input type="hidden" name="comment[approved]" value="<%= @comment.approved %>" /> </td> </tr> <tr> <td>Author name</td> <td> <span><%= @comment.author_name %></span> <input type="hidden" name="comment[author_url]" value="<%= @comment.author_name %>" /> </td> </tr> <tr> <td>Author email</td> <td> <span><%= @comment.author_email %></span> <input type="hidden" name="comment[author_url]" value="<%= @comment.author_email %>" /> </td> </tr> <tr> <td>Author URL</td> <td> <span><%= @comment.author_url %></span> <input type="hidden" name="comment[author_url]" value="<%= @comment.author_url %>" /> </td> </tr> <tr> <td>Content</td> <td class="textarea"> <span><%= @comment.content %></span> <textarea style="display: none" name="comment[content]"><%= @comment.content %></textarea> </td> </tr> <tr> <td>Parent ID</td> <td><%= @comment.parent_id %></td> </tr> <tr> <td>Created at</td> <td><%= @comment.created_at %></td> </tr> </table> <button type="submit">Update</button> </form>
Version data entries
14 entries across 14 versions & 1 rubygems