app/views/admin/posts/_form.html.erb in tb_blog-1.3.3 vs app/views/admin/posts/_form.html.erb in tb_blog-1.3.4
- old
+ new
@@ -73,11 +73,11 @@
<%= link_to 'Add Category', new_admin_post_category_path, :class => 'btn btn-xs btn-primary spud-post-add-category' %>
</div>
</div>
<%= render :partial => '/admin/posts/custom_fields', :locals => {:f => f} %>
-
+
<h4>Meta Data</h4>
<div class="form-group">
<%= f.label :url_name, :required => true, :class=> "col-sm-2 control-label" %>
<div class="col-sm-10">
@@ -102,13 +102,14 @@
</div>
</div>
<div class="form-group">
<div class="col-sm-offset-2 col-sm-10">
- <%= f.submit "Save Post", :class => "btn btn-primary", "data-loading-text" => "Saving..." %>
+ <%= f.submit "Save Post", :class => "btn btn-primary", "data-loading-text" => "Saving..." %>
+ <%= f.submit "Preview", :class => "btn btn-info btn-preview", data: { loading_text: 'Please Wait...' } %> or
<%= link_to "Cancel", request.referer, :class => "btn btn-default" %>
</div>
</div>
<script type="text/javascript">
$(document).ready(spud.admin.posts.edit);
-</script>
\ No newline at end of file
+</script>