app/views/georgia/revisions/fields/_widgets.html.erb in georgia-0.7.8 vs app/views/georgia/revisions/fields/_widgets.html.erb in georgia-0.8.0

- old
+ new

@@ -1,9 +1,9 @@ <fieldset> <div class="fieldset-help"> <legend>Widgets</legend> <p class='hint'> - <%= link_to "#{icon_tag('cogs')} Manage Widgets".html_safe, widgets_path, class: 'btn btn-inverse' if can?(:manage, @page) %> + <%= link_to "#{icon_tag('cogs')} Manage Widgets".html_safe, widgets_path, class: 'btn btn-primary' if policy(Georgia::Widget).index? %> </p> </div> <div class="fieldset-fields"> <%= render partial: 'georgia/revisions/fields/ui_section', collection: @ui_sections, as: :ui_section, locals: {f: f} %> </div> \ No newline at end of file