foodsoft/app/views/admin/configs/list.html.haml

17 lines
313 B
Text
Raw Normal View History

2014-03-16 02:08:15 +01:00
- title t('.title'), false
= render 'tabs'
%table.table
%thead
%tr
%th= t '.key'
%th= t '.value'
%tbody
- @keys.each do |key|
%tr
%td
%tt= key
%td{style: if @cfg[key] != @dfl[key] then 'font-weight: bold' end}
= show_config_value key, @cfg[key]