Module: Card::Set::All::EditType::HtmlFormat

Extended by:
Card::Set::AbstractFormat
Defined in:
tmpsets/set/mod023-edit/all/edit_type.rb

Instance Method Summary collapse

Instance Method Details

#edit_type_buttonsObject



30
31
32
33
34
# File 'tmpsets/set/mod023-edit/all/edit_type.rb', line 30

def edit_type_buttons
  button_formgroup do
    standard_cancel_button
  end
end

#edit_type_successObject



24
25
26
27
28
# File 'tmpsets/set/mod023-edit/all/edit_type.rb', line 24

def edit_type_success
  # because the content editor can change with a type change
  # we have to reload the whole edit view
  { view: :edit_type_row }
end