app/views/archangel/backend/widgets/edit.html.erb in archangel-0.3.0 vs app/views/archangel/backend/widgets/edit.html.erb in archangel-0.4.0
- old
+ new
@@ -1,21 +1,15 @@
-<div class="card card-default">
+<div class="card card-default sticky-title rounded-0">
<div class="card-body">
- <h2><%= fa_icon("star") %> <%= Archangel.t(:edit_resource, resource: @widget.model_name.human.titleize) %></h2>
+ <h2><%= Archangel.t(:edit_resource, resource: @widget.model_name.human.titleize) %></h2>
</div>
</div>
-<div class="container-fluid">
- <div class="row">
- <div class="col-lg-12">
- <div class="card pages-index">
- <div class="card-header">
- <%= render "buttons" %>
- </div>
+<div class="card widgets-edit">
+ <div class="card-header">
+ <%= render "buttons" %>
+ </div>
- <div class="card-body">
- <%= render "form", widget: @widget %>
- </div>
- </div>
- </div>
+ <div class="card-body">
+ <%= render "form", widget: @widget %>
</div>
</div>