Sha256: 6a6b6125cb7fad1ffd2fbb3ebe9973675a012b138f1dd03b795b3975c42d05bc

Contents?: true

Size: 497 Bytes

Versions: 4

Compression:

Stored size: 497 Bytes

Contents

<div class="page-header">
  <h1>New Post</h1>
</div>
<%= form_for [:admin, @post] do |f| %>
  <div class="row">
    <%= render 'form', f: f %>
  </div>
  <div class="row well">
    <div class="col-xs-4 col-xs-offset-1 col-sm-2 col-sm-offset-3">
      <%= f.submit "Save", class: "btn btn-primary btn-block" %>
    </div>
    <div class="col-xs-4 col-xs-offset-2 col-sm-2">
      <%= link_to 'Cancel', miniblog.admin_posts_path, class: "btn btn-default btn-block" %>
    </div>
  </div>
<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
miniblog-1.0.2 app/views/miniblog/admin/posts/new.html.erb
miniblog-1.0.1 app/views/miniblog/admin/posts/new.html.erb
miniblog-1.0.0 app/views/miniblog/admin/posts/new.html.erb
miniblog-1.0.0.beta app/views/miniblog/admin/posts/new.html.erb