Sha256: 68fc7033794456c78846a73159e8c990528ded31b12577dc00341f4c0a11939c
Contents?: true
Size: 664 Bytes
Versions: 11
Compression:
Stored size: 664 Bytes
Contents
tr.odd.gradeA class=(("disabled" if !obj.active) ) - @obj_class.columns_for_table.each do |t| td id=(obj.id ) / / Common index tries to find object.attribute_view function in your Model to parse value / if it's not defined, just puts simple object.atribute value / - if obj.respond_to?("#{t}_view") = eval("obj.#{t}_view") - else = obj.try(t) td .controls.center = table_controls_edit_btn( edit_url(@obj_class, obj) ) if obj.editable = table_controls_delete_btn( obj_url(@obj_class, obj) ) if obj.deletable = table_controls_copy_btn( copy_url(@obj_class, obj) ) if obj.editable
Version data entries
11 entries across 11 versions & 1 rubygems