<%= render_list class: 'nav nav-tabs' do |li|
if can? :index, SimplePages::Page
li << [link_to(t('helpers.index'), pages_path), { class: 'pull-right' }]
end
if can? :show, @page
li << [link_to(t('helpers.show'), @page), { class: 'pull-right' }]
end
end %>