BigW Consortium Gitlab

Commit edcd4659 by Dmitriy Zaporozhets

Use simplified render syntax

parent 9787c37a
%ul.bordered-list %ul.bordered-list
= render partial: 'snippet', collection: @snippets = render @snippets
- if @snippets.empty? - if @snippets.empty?
%li %li
%h3.nothing_here_message Nothing here. %h3.nothing_here_message Nothing here.
......
= render 'wikis/nav' = render 'wikis/nav'
%h3.page_title %h3.page_title
Editing page Editing page
= render partial: 'main_links' = render 'main_links'
= render 'form' = render 'form'
.pull-right .pull-right
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
%h3.page_title %h3.page_title
Git Access Git Access
%strong= @gollum_wiki.path_with_namespace %strong= @gollum_wiki.path_with_namespace
= render partial: 'main_links' = render 'main_links'
%br %br
.content .content
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
%h3.page_title %h3.page_title
%span.light History for %span.light History for
= @wiki.title.titleize = @wiki.title.titleize
= render partial: 'main_links' = render 'main_links'
%br %br
%table %table
%thead %thead
......
= render 'wikis/nav' = render 'wikis/nav'
%h3.page_title %h3.page_title
All Pages All Pages
= render partial: 'main_links' = render 'main_links'
%br %br
%table %table
%thead %thead
......
= render 'wikis/nav' = render 'wikis/nav'
%h3.page_title %h3.page_title
= @wiki.title.titleize = @wiki.title.titleize
= render partial: 'main_links' = render 'main_links'
%br %br
- if @wiki.historical? - if @wiki.historical?
.warning_message .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