Sha256: 455327a728b882c66d22731f3a504703ffe518bcfbbc1b77aaec73a0c5fede40

Contents?: true

Size: 663 Bytes

Versions: 5

Compression:

Stored size: 663 Bytes

Contents

<div id="page_content">
  <h2 id="page-title">Edit Post</h2>
  <div class="content">
    <?r if @post.errors.count > 0 ?>
      <div class="message error">
        <?r @post.errors.each do |k, v| ?>
          #{k} #{v.first}<br />
        <?r end ?>
      </div>
    <?r end ?>
    <div class="new-post-form tabular">
       #{
        form_for(@post, :method => :post, :action => '/admin/posts/save/' + @post.id.to_s) do |f|
          f.input_text 'Title', :title
          f.textarea 'Message', :body
          f.input_text 'Tags (seperated by comma)', :post_tags
          f.submit "Save", :class => "submit-btn"
        end
      }
    </div>
  </div>
</div>

Version data entries

5 entries across 5 versions & 1 rubygems

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