Sha256: e08ce58e33cdc1fc6e4c260d2a6b5dd7c7d32331318205cb3c0079c6b65b05d9

Contents?: true

Size: 362 Bytes

Versions: 4

Compression:

Stored size: 362 Bytes

Contents

<% unless params[:preview] == 'yup' -%>
<h1 class="posts icon">New Blog Post</h1>
<% end -%>
<% form_for(@post, :url => admin_posts_path) do |form| -%>
  <%= render :partial => 'form', :locals => {:form => form} %>
  <div class="toolbar">
    <%= button 'Add Post' %>
    <%= button_link_to('Cancel', admin_posts_path, :class => 'cancel') %>
  </div>
<% end -%>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
grandstand-0.2.4 app/views/admin/posts/new.html.erb
grandstand-0.2.3 app/views/admin/posts/new.html.erb
grandstand-0.2.2 app/views/admin/posts/new.html.erb
grandstand-0.2.1 app/views/admin/posts/new.html.erb