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