Sha256: ab56ebf8fa662827e7b0db83a9d83dfb356436e1524e2c3aa41dfeb74d8853f9

Contents?: true

Size: 912 Bytes

Versions: 3

Compression:

Stored size: 912 Bytes

Contents

- title "Dashboard"

- content_for :header do
  - if @site_wide
    = error_messages_for @site_wide

.sub-header
  .button-bar.clearfix
    .title Site Wide Administration

    .admin-links
      = link_to "New Site Wide Variable", new_dust_site_wide_path, :class => 'border'
      = link_to current_user.username, edit_dust_user_path(current_user)

.content-wrapper

  = form_tag('/dust/dashboard/update') do
    .accordion
      - @options.each do |name, options|

        .index-item

          = link_to name.to_s.titleize, '#'

        .options
          - options.each do |variable|
            .item
              .list-links.clearfix{:style => "float:right"}
                = link_to "", variable, :confirm => 'Are you sure?', :method => :delete, :class => 'destroy tip', :title => "Destroy This Item"

              = render 'dust/dashboard/options', :variable => variable
    .item
      = submit_tag

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
dust-cms-0.0.07 app/views/dust/dashboard/show.html.haml
dust-cms-0.0.06 app/views/dust/dashboard/show.html.haml
dust-cms-0.0.05 app/views/dust/dashboard/show.html.haml