app/views/locomotive/theme_assets/edit.html.haml in locomotive_cms-2.0.0.rc12 vs app/views/locomotive/theme_assets/edit.html.haml in locomotive_cms-2.0.0
- old
+ new
@@ -3,10 +3,10 @@
- content_for :submenu do
= render_cell 'locomotive/settings_menu', :show
- if can?(:manage, Locomotive::ThemeAsset)
- content_for :buttons do
- = local_action_button t('locomotive.theme_assets.index.new'), new_theme_asset_url, :class => 'new'
+ = local_action_button t('locomotive.theme_assets.index.new'), new_theme_asset_url, :icon => 'icon-plus'
%p.help
- if %w(image javascript stylesheet).include?(@theme_asset.content_type.to_s)
!= t(".help_#{@theme_asset.content_type}", :path => @theme_asset.local_path(true), :width => @theme_asset.width, :height => @theme_asset.height)
\ No newline at end of file