Sha256: 13b07e99f24a4584815c449bc637e7308472f912986734bd85a1d08d621aedf1
Contents?: true
Size: 633 Bytes
Versions: 4
Compression:
Stored size: 633 Bytes
Contents
<div class="page-header"> <h1>Edit 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 "Update", class: "btn btn-primary btn-block" %> </div> <div class="col-xs-3 col-sm-2"> <%= link_to 'Preview', miniblog.admin_preview_path(@post), class: "btn btn-default btn-block" %> </div> <div class="col-xs-3 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