BigW Consortium Gitlab

Commit edcd4659 by Dmitriy Zaporozhets

Use simplified render syntax

parent 9787c37a
%ul.bordered-list
= render partial: 'snippet', collection: @snippets
= render @snippets
- if @snippets.empty?
%li
%h3.nothing_here_message Nothing here.
......
= render 'wikis/nav'
%h3.page_title
Editing page
= render partial: 'main_links'
= render 'main_links'
= render 'form'
.pull-right
......
......@@ -2,7 +2,7 @@
%h3.page_title
Git Access
%strong= @gollum_wiki.path_with_namespace
= render partial: 'main_links'
= render 'main_links'
%br
.content
......
......@@ -2,7 +2,7 @@
%h3.page_title
%span.light History for
= @wiki.title.titleize
= render partial: 'main_links'
= render 'main_links'
%br
%table
%thead
......
= render 'wikis/nav'
%h3.page_title
All Pages
= render partial: 'main_links'
= render 'main_links'
%br
%table
%thead
......
= render 'wikis/nav'
%h3.page_title
= @wiki.title.titleize
= render partial: 'main_links'
= render 'main_links'
%br
- if @wiki.historical?
.warning_message
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment