Skip to content

Commit

Permalink
Remove commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
scambra authored Oct 20, 2024
1 parent 817060d commit 5f54690
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions lib/active_scaffold/helpers/tabs_helpers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,8 @@ def active_scaffold_tabbed_by(column, record, scope, subsection_id, &block)
refresh_opts = {refresh_link: {text: 'Add tab', class: 'refresh-link add-tab'}}
tab_options = active_scaffold_tab_options(column, record)
used_tabs = active_scaffold_current_tabs(column, record)
#field = content_tag :dl do
# content_tag(:dt, label_tag("#{subsection_id}_input", column.label)) << content_tag(:dd) do
active_scaffold_input_for_tabbed(column, record, subsection_id, tab_options, used_tabs.map(&:first)) <<
active_scaffold_refresh_link(nil, {'data-update_url' => url_for(add_tab_url)}, record, refresh_opts) <<
# end
#end
#field <<
active_scaffold_input_for_tabbed(column, record, subsection_id, tab_options, used_tabs.map(&:first)) <<
active_scaffold_refresh_link(nil, {'data-update_url' => url_for(add_tab_url)}, record, refresh_opts) <<
active_scaffold_tabs_for(column, record, subsection_id, tab_options, used_tabs, &block)
end

Expand Down Expand Up @@ -89,4 +84,4 @@ def active_scaffold_tabs_for(column, record, subsection_id, tab_options, used_ta
end
end
end
end
end

0 comments on commit 5f54690

Please sign in to comment.