foodsoft/plugins/wiki/app/views/pages/all.html.haml

19 lines
764 B
Text
Raw Normal View History

2013-04-12 00:58:38 +02:00
- title t('.title'), false
2012-10-09 02:31:10 +02:00
- content_for :sidebar do
2013-04-12 00:58:38 +02:00
= link_to t('.new_page'), new_page_path, class: 'btn btn-primary'
2012-10-09 02:31:10 +02:00
.navbar
.navbar-inner
%ul.nav
2013-04-12 00:58:38 +02:00
%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')
2014-01-04 20:12:01 +01:00
%li= link_to image_tag('icons/feed-icon-14x14.png', :alt => 'RSS Feed'), all_pages_rss_url
2012-10-09 02:31:10 +02:00
= form_tag all_pages_path, method: :get, class: 'form-search pull-right' do
= text_field_tag :name, params[:name], class: 'input-medium search-query',
2013-04-12 00:58:38 +02:00
placeholder: t('.search.placeholder')
= submit_tag t('.search.action'), class: 'btn'
2013-04-12 00:58:38 +02:00
= render @partial