app/views/cardboard/pages/_sidebar.html.slim in cardboard_cms-0.2.2 vs app/views/cardboard/pages/_sidebar.html.slim in cardboard_cms-0.3.1
- old
+ new
@@ -1,7 +1,7 @@
form class="form-inline"
- if Cardboard.used_with_templates?
- => link_to pages_new_path, class:"btn btn-primary" do
+ => link_to new_page_path, class:"btn btn-primary" do
i.icon-plus
.input-append style=(Cardboard.used_with_templates?? "width: 160px" : nil)
input id="sidebar_page_search" type="text" placeholder="Search Pages"
button type="submit" class="btn"