app/views/pages_cms/admin/pages/edit.html.haml in pages_cms-0.2.1 vs app/views/pages_cms/admin/pages/edit.html.haml in pages_cms-0.2.2

- old
+ new

@@ -41,10 +41,10 @@ %div.col-md-3 %h4 Sidebar = f.fields_for :sidebar, @sidebar do |ss| = render 'editor', f: ss %input.form-control.inline-form{ id: 'add_sid', placeholder: 'add link' } - %a{ href: 'javascript:;', onclick: 'addOption("select_sid", "add_sid")' } Add + %a{ href: '#', onclick: 'addOption("select_sid", "add_sid")' } Add = ss.label 'Show sidebar on this page' = ss.check_box :show = ss.select(:use_instead, PagesCms::Page.all.includes(:sidebar).collect {|p| [p.title, p.sidebar.id] unless p.sidebar.nil? }, {include_blank: 'Use this sidebar instead'}, class: 'form-control inline-form', id: 'select_sid') = f.submit 'Save', class: 'btn btn-primary center-block' \ No newline at end of file