Sha256: 7726856db3a9895e6561e9658f173ae7113decb974625c62c1e4b5cefaaba66f

Contents?: true

Size: 858 Bytes

Versions: 8

Compression:

Stored size: 858 Bytes

Contents

- helps = Rad::Face::Demo::Helps
- commons = Rad::Face::Demo::Commons
- dialogs = Rad::Face::Demo::Dialogs

- theme = (params.theme || 'default').to_sym

= b.title "The :#{theme} theme:"

- b.basic_list do |o|
  - o.content do
    = b.basic_list_item link_to('Help', helps, :help, theme: theme)          
    
    - urls = %w{basic forms aspects style items}.collect{|action| link_to action.humanize, commons, action.to_sym, theme: theme}
    = b.basic_list_item urls.join(', ')
    
    = b.basic_list_item link_to('Dialogs', dialogs, :show, theme: theme)

%br
        
= render themed_partial('/index')
= render themed_partial('/index2') if theme == :default and template.exist?(themed_partial('/index2'))

%br

= b.text "Sources: <a href='http://github.com/alexeypetrushin/rad_common_interface'>http://github.com/alexeypetrushin/rad_common_interface</a>."

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
rad_common_interface-0.0.14 app/views/rad/face/demo/helps/index.html.haml
rad_common_interface-0.0.13 app/views/rad/face/demo/helps/index.html.haml
rad_common_interface-0.0.12 app/views/rad/face/demo/helps/index.html.haml
rad_common_interface-0.0.11 app/views/rad/face/demo/helps/index.html.haml
rad_common_interface-0.0.10 app/views/rad/face/demo/helps/index.html.haml
rad_common_interface-0.0.9 app/views/rad/face/demo/helps/index.html.haml
rad_common_interface-0.0.8 app/views/rad/face/demo/helps/index.html.haml
rad_common_interface-0.0.7 app/views/rad/face/demo/helps/index.html.haml