Module: Card::Set::All::Alias::HtmlFormat

Extended by:
Card::Set::AbstractFormat
Defined in:
card/tmpsets/set/mod018-card-mod-alias/all/alias.rb

Instance Method Summary collapse

Instance Method Details

#auto_alias_checkboxObject



25
26
27
# File 'card/tmpsets/set/mod018-card-mod-alias/all/alias.rb', line 25

def auto_alias_checkbox
  haml :auto_alias_checkbox if card.simple?
end

#edit_name_buttonsObject

adds checkbox to rename form



21
22
23
# File 'card/tmpsets/set/mod018-card-mod-alias/all/alias.rb', line 21

def edit_name_buttons
  output [auto_alias_checkbox, super].compact
end