rosa-build/app/views/projects/wiki/edit.html.haml

25 lines
695 B
Plaintext
Raw Normal View History

2012-03-30 13:30:39 +01:00
-set_meta_tags :title => [title_object(@project), "#{t('wiki.editing_page')} #{@page.name}"]
= render 'gollum_includes'
/ = render 'project_short'
= render 'submenu'
2012-03-23 15:36:47 +00:00
.left
%h3
= t("wiki.editing_page")
%strong= @page.name
- if can? :read, @project
2012-03-23 15:36:47 +00:00
.r= link_to t("wiki.view_page"), view_path(@project, escaped_name), :class => 'action-view-page button'
.r= link_to t("wiki.page_history"), history_project_wiki_path(@project, escaped_name), :class => 'aciton-view-history button'
.both
#wiki-content= render "editor"
:javascript
jQuery(document).ready(function() {
$.GollumEditor();
});
:css
#gollum-editor { width: 100%; }
- content_for :sidebar do
- render 'sidebar'