Sha256: e1d9aa70a8b5beb5f755b2c4540510b2a12642d369ff2da63d4ffb0e59b8b646

Contents?: true

Size: 894 Bytes

Versions: 4

Compression:

Stored size: 894 Bytes

Contents

- content_for :main do 

  %h1.stylesheets_icon Stylesheet '#{@sheet.name}'

  .cms_form
    = form_for @sheet, :url=>"/admin/stylesheet/#{@sheet.id}", :method=>:post do |f|
      = f.error_messages
      %ul
        %li
          %label Name:
          = f.text_field :name
        %li
          %label Last Updated By:
          = @sheet.user.email rescue ''
        %li
          %label Created:
          = @sheet.created_at
        %li
          %label Updated:
          = @sheet.updated_at
      - if flash[:notice]
        #error_explanation
          = flash[:notice]
      = ace_editor('scss', :sheet, :body, f, "stylesheet_body")

      = kit_submit "Save"
      = link_to "Delete", "/admin/stylesheet/#{@sheet.id}", :method=>:delete, :class=>"action", :confirm=>"Are you sure you want to delete this stylesheet?  It cannot be undone."
      = icon_to "Cancel", "/admin/stylesheets"

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
kit_cms-2.3.9 app/views/admin/stylesheet/show.html.haml
kit_cms-2.3.8 app/views/admin/stylesheet/show.html.haml
kit_cms-2.3.7 app/views/admin/stylesheet/show.html.haml
kit_cms-2.3.6 app/views/admin/stylesheet/show.html.haml