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

34 lines
899 B
Plaintext

= render :partial => 'gollum_includes'
= render :partial => 'project_short'
%a{ :name => "wiki"}
.block
= render :partial => 'navigation'
.content
#wiki-wrapper.inner
#head
%h1.title
= t("layout.wiki.editing_page")
%strong= @page.name
%ul.actions
- if can? :read, @project
%li.minibutton
= link_to t("layout.wiki.view_page"), view_path(@project, escaped_name),
:class => 'action-view-page'
%li.minibutton
= link_to t("layout.wiki.page_history"), history_project_wiki_path(@project, escaped_name),
:class => 'aciton-view-history'
#wiki-content
= render :partial => "editor"
:javascript
jQuery(document).ready(function() {
$.GollumEditor();
});
- content_for :sidebar do
- render :partial => 'projects/sidebar'