Sha256: 3fc23e2420e253b04113d7de98a4147d8ed6c35ca1691cff20efd997c69a7c4f

Contents?: true

Size: 629 Bytes

Versions: 5

Compression:

Stored size: 629 Bytes

Contents

<div id="page_content">
  <h2 id="page-title">Comments</h2>
  <table class="list">
    <thead>
      <tr>
        <th>Post</th>
        <th>Author</th>
        <th>Comment</th>
        <th class="actions">Actions</th>
      </tr>
    </thead>
    <tbody>
    <?r @comments.each do |comment| ?>
      <tr>
        <td>#{comment.post.title}</td>
        <td>#{comment.author}</td>
        <td>#{maruku CGI::escapeHTML(comment.body)}</td>
        <td><?r if comment.in_moderation == 1 ?>#{a 'Approve', :approve, comment.id},<?r end ?> #{a 'Delete', :delete, comment.id}</td>
      </tr>
    <?r end ?>
    </tbody>
  </table>
</div>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
blogaze-0.2.0 lib/blogaze/themes/default/admin/comments/index.xhtml
blogaze-0.1.0 lib/blogaze/themes/default/admin/comments/index.xhtml
blogaze-0.0.3 lib/blogaze/themes/default/admin/comments/index.xhtml
blogaze-0.0.2 proto/themes/default/admin/comments/index.xhtml
blogaze-0.0.1 proto/themes/default/admin/comments/index.xhtml