2012-01-18 21:14:12 +00:00
|
|
|
= render :partial => 'gollum_includes'
|
2012-02-17 12:47:33 +00:00
|
|
|
=# render :partial => 'project_short'
|
|
|
|
= render :partial => 'projects/submenu'
|
2012-01-16 21:48:38 +00:00
|
|
|
|
2012-02-17 12:47:33 +00:00
|
|
|
%h3.wiki
|
|
|
|
= t("layout.wiki.create_page")
|
|
|
|
%strong= @name
|
|
|
|
%br
|
2012-01-16 21:48:38 +00:00
|
|
|
|
2012-02-17 12:47:33 +00:00
|
|
|
#wiki-content
|
|
|
|
= render :partial => "editor"
|
2012-01-17 22:28:59 +00:00
|
|
|
|
2012-02-21 10:49:06 +00:00
|
|
|
-#%a{ :name => "wiki"}
|
|
|
|
-#.block
|
|
|
|
-# = render :partial => 'navigation'
|
|
|
|
-#
|
|
|
|
-# .content
|
|
|
|
-# #wiki-wrapper.inner
|
|
|
|
-# #head
|
|
|
|
-# %h1.title
|
|
|
|
-# = t("layout.wiki.create_page")
|
|
|
|
-# %strong= @name
|
|
|
|
-#
|
|
|
|
-# #wiki-content
|
|
|
|
-# = render :partial => "editor"
|
2012-01-16 21:48:38 +00:00
|
|
|
|
|
|
|
:javascript
|
|
|
|
jQuery(document).ready(function() {
|
|
|
|
$.GollumEditor({ NewFile: true });
|
|
|
|
});
|
|
|
|
|
2012-02-17 12:47:33 +00:00
|
|
|
:css
|
|
|
|
#gollum-editor { width: 100%; }
|
|
|
|
|
2012-01-16 21:48:38 +00:00
|
|
|
- content_for :sidebar do
|
2012-02-17 12:47:33 +00:00
|
|
|
- render :partial => 'sidebar'
|