%h2 = link_to @page.title, page_path(@page) > Bearbeiten = render 'form' %hr.clear - if current_user && (current_user.has_role? :admin) %article#admin_panel = link_to 'Seite anzeigen', @page, :class=>"button" = link_to 'Seiten-Index', pages_path, :class=>"button"