app/views/phcpress/modules/categories/new.html.erb in phcpress-5.3.9 vs app/views/phcpress/modules/categories/new.html.erb in phcpress-6.0.0

- old
+ new

@@ -1,36 +1,72 @@ -<%= render 'form', modules_category: @modules_category %> +<!-- Title System --> +<% phc_title "PHCPress - Categories Manager" %> +<% phc_title_tagline "Create a New Category" %> +<!-- Title System --> + +<!-- Page Title Bar --> +<section class="content-header"> + + <!-- Page Title and BreadCrumb --> + <h1><%= yield(:phc_title) %> <small><%= yield(:phc_title_tagline) %></small></h1> + <ol class="breadcrumb"> + <li><%= link_to "Categories Index", modules_categories_path %></li> + <li class="active"><%= yield(:phc_title_tagline) %></li> + </ol> + <!-- Page Title and BreadCrumb --> + +</section> +<!-- Page Title Bar --> + +<!-- Main Content --> +<section class="content"> + <div class="row"> + <div class="col-lg-12"> + + <div class="box"> + <div class="box-header with-border"> + <h3 class="box-title"><%= yield(:phc_title) %></h3> + </div> + <div class="box-body"> + <%= render 'form', modules_category: @modules_category %> + </div> + </div> + + </div> + </div> +</section> +<!-- Main Content -->