Module: Card::Set::Type::BootswatchSkin::HtmlFormat

Extended by:
AbstractFormat
Defined in:
platypus/tmp/set/gem-defaults/mod024-bootstrap/type/bootswatch_skin.rb

Instance Method Summary collapse

Instance Method Details

#edit_fieldsObject



117
118
119
120
121
# File 'platypus/tmp/set/gem-defaults/mod024-bootstrap/type/bootswatch_skin.rb', line 117

def edit_fields
  [[:colors, { title: "" }],
   [:variables, { title: "Variables" }],
   [:stylesheets, { title: "Styles" }]]
end

#view: inputObject



109
110
111
112
113
114
115
# File 'platypus/tmp/set/gem-defaults/mod024-bootstrap/type/bootswatch_skin.rb', line 109

view :input do
  if card.parent?
    super()
  else
    "Content is stored in file and can't be edited."
  end
end

#view: one_line_contentObject



123
124
125
# File 'platypus/tmp/set/gem-defaults/mod024-bootstrap/type/bootswatch_skin.rb', line 123

view :one_line_content do
  ""
end