forked from fixin.me/fixin.me
Measurement form based on select-styled <details>
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
require 'core_ext/array_delete_bang'
|
||||
require 'core_ext/big_decimal_scientific_notation'
|
||||
|
||||
ActiveSupport.on_load :action_dispatch_system_test_case do
|
||||
|
||||
@@ -19,7 +19,19 @@ ActiveSupport.on_load :turbo_streams_tag_builder do
|
||||
action :hide, target, allow_inferred_rendering: false
|
||||
end
|
||||
|
||||
def show(target)
|
||||
action :show, target, allow_inferred_rendering: false
|
||||
end
|
||||
|
||||
#def collapse(target)
|
||||
# action :collapse, target, allow_inferred_rendering: false
|
||||
#end
|
||||
|
||||
def close_form(target)
|
||||
action :close_form, target, allow_inferred_rendering: false
|
||||
end
|
||||
|
||||
def unselect(target)
|
||||
action :unselect, target, allow_inferred_rendering: false
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user