Add help page for Foodsoft variables
This commit is contained in:
parent
a6f02a24d4
commit
15ac566ece
5 changed files with 38 additions and 1 deletions
16
plugins/wiki/app/views/pages/variables.html.haml
Normal file
16
plugins/wiki/app/views/pages/variables.html.haml
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
- title t '.title'
|
||||
|
||||
%p= t '.description'
|
||||
|
||||
%table.table.table-hover
|
||||
%thead
|
||||
%tr
|
||||
%th= t '.variable'
|
||||
%th= t '.value'
|
||||
%tbody
|
||||
- @variables.each do |key, value|
|
||||
%tr
|
||||
%td
|
||||
%tt= "{{#{key}}}"
|
||||
%td
|
||||
= value
|
||||
Loading…
Add table
Add a link
Reference in a new issue