Class: Marty::ScriptTester
- Includes:
- Extras::Layout
- Defined in:
- app/components/marty/script_tester.rb
Constant Summary
Constants included from Extras::Layout
Extras::Layout::BOOL_MAP, Extras::Layout::MAP_BOOL
Constants included from Permissions
Permissions::ALL_ROLES, Permissions::REQ_ROLES
Instance Method Summary collapse
Methods included from Extras::Layout
#bool_getter, #bool_setter, #dispfield, #enum_array, #enum_column, #enum_setter, #fieldset, #get_sorter, #hbox, #hspacer, #jsonb_field, #nullable_bool_column, #range_column, #range_field, #range_getter, #range_setter, #textarea_field, #tooltip, #vbox, #vspacer
Methods included from Permissions
#can_perform_action?, #can_perform_actions, #current_user_roles, #has_any_perm?, #has_marty_permissions
Instance Method Details
#configure(c) ⇒ Object
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
# File 'app/components/marty/script_tester.rb', line 4 def configure(c) super c.items = [ fieldset(I18n.t("script_tester.attributes"), { name: "attrs", xtype: :textarea, value: "", hide_label: true, min_height: 125, }, {}, ), fieldset(I18n.t("script_tester.parameters"), { name: "params", xtype: :textarea, value: "", hide_label: true, min_height: 125, }, {}, ), :result, ] end |