Class: ActionView::Helpers::FormBuilder

Inherits:
Object
  • Object
show all
Defined in:
lib/active_metadata/form_helper.rb

Instance Method Summary collapse

Instance Method Details

#active_metadata_timestampObject



5
6
7
# File 'lib/active_metadata/form_helper.rb', line 5

def 
  @template.hidden_field_tag "#{@object_name}[active_metadata_timestamp]", Time.now.to_f, class: "active_metadata_timestamp"
end