Sha256: 887b09b3f0c2df267bcb18897d21dcdabd4aa8bb6ac1dbb754539e7f2fbd49c7
Contents?: true
Size: 439 Bytes
Versions: 60
Compression:
Stored size: 439 Bytes
Contents
%tr %td = model_class.human_attribute_name attribute_name %td = value %td - if attribute_name.to_s != 'state' && object.model.class.state_machines.keys.include?(attribute_name.to_sym) = state_events_buttons object, state_method: attribute_name, model_param_name: :record, controller: 'tramway/admin/records', action: :update, parameters: { model: object.class.model_name }, button_options: { class: :smart_button }
Version data entries
60 entries across 60 versions & 1 rubygems