.footer .padding .block.left_block %a.button{ :href => url_for( :action => 'index' ) } = image_tag 'releaf/icons/arrow_left.png', :alt => '' %span= t('back') - if @features[:edit] .block.center_block %a.button{ :href => url_for( :action => 'edit', :id => resource.id ) } = image_tag 'releaf/icons/page_white_edit.png', :alt => '' %span= t('edit') - if @features[:destroy] .block.right_block %a.button{ :href => url_for( :action => 'confirm_destroy', :id => resource.id ) } = image_tag('releaf/icons/bin_empty.png', :alt => '') %span= t('destroy')