class Balloon < Peta::Content
load_manifest
- include Peta::ElementPart
belongs_to :speech_balloon
belongs_to :system_picture
# validates :caption, :presence => true
validates :settings, :extend_balloon => true
- def self.colum_structures
- @@colum_structures ||= {
- :r => {
- :helper => 'panels/tail_angle_helper'
- }
- }
- end
-
def url
'/system_pictures/' + self.system_picture.filename
end
end
def symbol_option
- self.get_parent.speech_balloon_template.symbol_option
- end
-
- def get_parent
- self.speech_balloon || @new_parent
- end
-
- def tag_element_part_type
- 'balloon'
+ self.speech_balloon.speech_balloon_template.symbol_option
end
def self.list_where