Sha256: be725184ebf477731c0d769125786c6736979e79e293a09c5cfce9eb962f869b

Contents?: true

Size: 477 Bytes

Versions: 2

Compression:

Stored size: 477 Bytes

Contents

- content_for :catalogs_selector do
  %select{ :onchange => "javascript:window.location= this.value"}
    %option{ :value => "/" }= "Catalogs..."
    =Catalog.all.each do |c|
      - if params[:id].to_i == c.id
        %option{ :value => '/catalogs/' + c.id.to_s, :selected => 'selected'}= c.title
      - else
        %option{ :value => '/catalogs/' + c.id.to_s}= c.title

- content_for :tray do
  =render :partial => "shared/tray"

=render :template => 'layouts/application'

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fassets_core-0.4.0 app/views/layouts/fassets_core/application.html.haml
fassets_core-0.3.1 app/views/layouts/fassets_core/application.html.haml