foodsoft/app/views/users/_settings.haml

7 lines
197 B
Text
Raw Normal View History

2009-01-06 11:49:19 +01:00
%table{:style => "width:26em"}
%tbody
- for setting in User::setting_keys.keys
%tr
%td=h User::setting_keys[setting]
%td= @user.settings[setting] == '1' ? 'ja' : 'nein'