Revision b0e2071a
Added by Ohad Levy about 14 years ago
- ID b0e2071ac54b3a08f1f8a6872819e3d61b994e69
app/helpers/application_helper.rb | ||
---|---|---|
end
|
||
|
||
def link_to_remove_fields(name, f)
|
||
f.hidden_field(:_destroy) + link_to_function(name, "remove_fields(this)")
|
||
f.hidden_field(:_destroy) + link_to_function(image_tag("false.png", :title => "remove"), "remove_fields(this)")
|
||
end
|
||
|
||
def link_to_add_fields(name, f, association, partial = nil)
|
Also available in: Unified diff
minor formating changes