Sha256: 8c7ae3af4a6d2ebea603749f8cac0e66d460ad48921d78fc990cf3ae3117d45e

Contents?: true

Size: 1.05 KB

Versions: 15

Compression:

Stored size: 1.05 KB

Contents

- css_prefix_list = [["IE6 Only" , "<!--[if eq IE 6]>"] , ["IE7 Only" , "<!--[if eq IE 7]>"] , ["IE8 Only" , "<!--[if eq IE 8]>"] , ["IE9 Only" , "<!--[if eq IE 9]>"] , ["IE6 & IE7" , "<!--[if lte IE 7]>"] , ["IE6 & IE7 & IE8" , "<!--[if lte IE 8]>"] , ["Webkit based browsers (Safari, Chrome, etc)" , "if Webkit"] , ["Firefox" , "if Gecko"]]

- unless @stylesheet.blank?
  = version_listing(@stylesheet.versions , @version )

= form_for(@stylesheet, :url => url , :html => {:class => "validation"}) do  |f|
  = gb_error_messages_for(@stylesheet)
  
  %fieldset
    %p
      = f.label :name
      = f.text_field(:name, :id => "page_title" , :class => "required")
  
    %p
      = f.label :slug
      = f.text_field(:slug, :id => 'page_slug')
  
    %p
      = f.label :css_prefix , "Target Browser(s)"
      = f.select(:css_prefix , css_prefix_list , :include_blank => "All Browsers")
  
  %fieldset
    %p
      = f.label :value , "CSS"
      = f.text_area(:value , :class => "fullscreen" )    
  = form_controls(admin_stylesheets_path)

= enable_jwysiwyg_on_class("jwysiwyg")

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
gluttonberg-core-2.6.4 app/views/gluttonberg/admin/settings/stylesheets/_form.html.haml
gluttonberg-core-2.6.3 app/views/gluttonberg/admin/settings/stylesheets/_form.html.haml
gluttonberg-core-2.6.2 app/views/gluttonberg/admin/settings/stylesheets/_form.html.haml
gluttonberg-core-2.6.1 app/views/gluttonberg/admin/settings/stylesheets/_form.html.haml
gluttonberg-core-2.6.0 app/views/gluttonberg/admin/settings/stylesheets/_form.html.haml
gluttonberg-core-2.5.9 app/views/gluttonberg/admin/settings/stylesheets/_form.html.haml
gluttonberg-core-2.5.8 app/views/gluttonberg/admin/settings/stylesheets/_form.html.haml
gluttonberg-core-2.5.7 app/views/gluttonberg/admin/settings/stylesheets/_form.html.haml
gluttonberg-core-2.5.6 app/views/gluttonberg/admin/settings/stylesheets/_form.html.haml
gluttonberg-core-2.5.5 app/views/gluttonberg/admin/settings/stylesheets/_form.html.haml
gluttonberg-core-2.5.4 app/views/gluttonberg/admin/settings/stylesheets/_form.html.haml
gluttonberg-core-2.5.3 app/views/gluttonberg/admin/settings/stylesheets/_form.html.haml
gluttonberg-core-2.5.2 app/views/gluttonberg/admin/settings/stylesheets/_form.html.haml
gluttonberg-core-2.5.1 app/views/gluttonberg/admin/settings/stylesheets/_form.html.haml
gluttonberg-core-2.5 app/views/gluttonberg/admin/settings/stylesheets/_form.html.haml