app/views/phcpresspro/articles/posts/edit.html.erb in phcpresspro-5.3.1 vs app/views/phcpresspro/articles/posts/edit.html.erb in phcpresspro-5.3.2
- old
+ new
@@ -1,22 +1,56 @@
<!-- Title System -->
<% phc_title "Articles Manager" %>
-<% phc_title_tagline "Update Article" %>
+<% phc_title_tagline "Post a New Article" %>
+<!-- Title System -->
-<!-- Bread Crumb -->
-<div class="page-bar">
+<!-- Page Header -->
+<div class="row wrapper border-bottom white-bg page-heading">
+ <div class="col-sm-4">
+ <h2><%= yield(:phc_title) %></h2>
+ <!-- Bread Crumb -->
+ <ol class="breadcrumb">
+ <li><%= link_to "Articles List", phcpresspro.articles_posts_path %><i class="fa fa-circle"></i></li>
+ <li class="active"><%= yield(:phc_title_tagline) %></li>
+ </ol>
+ </div>
+ <div class="col-sm-8">
+ <div class="title-action">
+ <%= link_to phcpresspro.articles_posts_path, class: "btn btn-primary" do %>
+ <i class="fa fa-plus"></i> Back to Article Index
+ <% end %>
+ </div>
+ </div>
+</div>
+<!-- Page Header -->
- <ul class="page-breadcrumb">
- <li><%= link_to "Articles List", phcpresspro.articles_posts_path %><i class="fa fa-circle"></i></li>
- <li class="active"><%= yield(:phc_title_tagline) %></li>
- </ul>
+<!-- Page Content -->
+<div class="wrapper wrapper-content animated fadeInRight">
-</div>
+ <div class="row">
+ <div class="col-lg-12">
-<!-- Page Title -->
-<h3 class="page-title">
- <%= yield(:phc_title) %> </br>
- <small><%= yield(:phc_title_tagline) %></small>
-</h3>
+ <div class="ibox float-e-margins">
-<!-- Main Content -->
-<%= render 'form', articles_post: @articles_post %>
+ <div class="ibox-title">
+ <h5><%= yield(:phc_title_tagline) %></h5>
+ <div class="ibox-tools">
+ <a class="collapse-link">
+ <i class="fa fa-chevron-up"></i>
+ </a>
+ <a class="close-link">
+ <i class="fa fa-times"></i>
+ </a>
+ </div>
+ </div>
+
+ <div class="ibox-content">
+ <%= render 'form', articles_post: @articles_post %>
+ </div>
+
+ </div>
+
+ </div>
+ </div>
+
+</div>
+<!-- Page Content -->