|
|
@ -424,7 +424,7 @@ module ApplicationHelper |
|
|
|
|
|
|
|
|
|
|
|
def labelled_tabular_form_for(record, options = {}, &block) |
|
|
|
def labelled_tabular_form_for(record, options = {}, &block) |
|
|
|
options.reverse_merge!(builder: TabularFormBuilder, lang: current_language, html: {}) |
|
|
|
options.reverse_merge!(builder: TabularFormBuilder, lang: current_language, html: {}) |
|
|
|
options[:html][:class] = 'tabular' unless options[:html].has_key?(:class) |
|
|
|
options[:html][:class] = 'form' unless options[:html].has_key?(:class) |
|
|
|
form_for(record, options, &block) |
|
|
|
form_for(record, options, &block) |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|