Class: PagesTreeInput

Inherits:
SimpleForm::Inputs::Base
  • Object
show all
Defined in:
app/inputs/pages_tree_input.rb

Instance Method Summary collapse

Instance Method Details

#inputObject



2
3
4
# File 'app/inputs/pages_tree_input.rb', line 2

def input
  @builder.select :parent_id, template.select_options_for(options[:page])
end