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

34 lines
894 B
Plaintext
Raw Normal View History

2012-01-18 21:14:12 +00:00
= render :partial => 'gollum_includes'
= render :partial => 'project_short'
%a{ :name => "wiki"}
.block
= render :partial => 'navigation'
.content
#wiki-wrapper.inner
#head
2012-01-19 14:37:36 +00:00
%h1.title
= t("layout.wiki.editing_page")
%strong= @name
%ul.actions
2012-01-26 16:26:21 +00:00
- 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'