move wiki functionality to plugin
This commit is contained in:
parent
d4dccbc646
commit
70c12b7c1f
19 changed files with 4 additions and 16 deletions
17
lib/foodsoft_wiki/app/views/pages/all.html.haml
Normal file
17
lib/foodsoft_wiki/app/views/pages/all.html.haml
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
- title t('.title'), false
|
||||
|
||||
- content_for :sidebar do
|
||||
= link_to t('.new_page'), new_page_path, class: 'btn btn-primary'
|
||||
|
||||
.navbar
|
||||
.navbar-inner
|
||||
%ul.nav
|
||||
%li= link_to t('.recent_changes'), all_pages_path(:view => 'recent_changes')
|
||||
%li= link_to t('.title_list'), all_pages_path(:view => 'title_list')
|
||||
%li= link_to t('.site_map'), all_pages_path(:view => 'site_map')
|
||||
= form_tag all_pages_path, method: :get, class: 'form-search pull-right' do
|
||||
= text_field_tag :name, params[:name], class: 'input-medium search-query',
|
||||
placeholder: t('.search.placeholder')
|
||||
= submit_tag t('.search.action'), class: 'btn'
|
||||
|
||||
= render @partial
|
||||
Loading…
Add table
Add a link
Reference in a new issue