app/views/phcpresspro/modules/connections/new.html.erb in phcpresspro-8.0.4 vs app/views/phcpresspro/modules/connections/new.html.erb in phcpresspro-8.0.5
- old
+ new
@@ -1,35 +1,60 @@
<!-- Title System -->
<% phc_title "PHCPress Plugin: Connections" %>
<% phc_title_tagline "Create a New Plugin Connection" %>
+<% phc_breadcrumb_one link_to "Connection Index", phcpresspro.modules_connections_path %>
+<% phc_breadcrumb_two yield(:phc_title_tagline) %>
<!-- Title System -->
<!-- Page Header -->
<div class="row wrapper border-bottom white-bg page-heading">
- <div class="col-sm-4">
- <!-- Page Title -->
+ <div class="col-sm-8">
<h2><%= yield(:phc_title) %></h2>
- <!-- Page Title -->
-
<!-- Bread Crumb -->
<ol class="breadcrumb">
- <li><%= link_to "Connections Index", phcpresspro.modules_connections_path %></li>
- <li class="active"><%= yield(:phc_title_tagline) %></li>
+ <li><%= yield(:phc_breadcrumb_one) %></li>
+ <li class="active"><%= yield(:phc_breadcrumb_two) %></li>
</ol>
<!-- Bread Crumb -->
-
</div>
- <div class="col-sm-8">
+ <div class="col-sm-4">
<div class="title-action">
- <%= link_to phcpresspro.modules_connections_path, class: "btn btn-primary" do %>
- <i class="fa fa-plus"></i> Back to Connections Index
+ <%= link_to phcpresspro.modules_connections_path, class: "btn btn-default" do %>
+ <i class="fa fa fa-arrow-left"></i> Back to Connections Index
<% end %>
</div>
</div>
</div>
<!-- Page Header -->
<!-- Page Content -->
<div class="wrapper wrapper-content animated fadeInRight">
- <%= render 'form', modules_connection: @modules_connection %>
+ <div class="row">
+ <div class="col-lg-12">
+
+ <div class="ibox float-e-margins">
+ <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">
+ <div class="row">
+ <div class="col-lg-12">
+
+ <%= render 'form', modules_connection: @modules_connection %>
+
+ </div>
+ </div>
+ </div>
+ </div>
+
+ </div>
+ </div>
</div>
<!-- Page Content -->
\ No newline at end of file