Sha256: 6e57f55334425b4a2905943d90914f8943f68a9523509aaa8a0b390b22379039

Contents?: true

Size: 892 Bytes

Versions: 2

Compression:

Stored size: 892 Bytes

Contents

.modal-header
  %h3 Hear Action

= form_for @action, :url => person_actions_path, :as => :artfully_action do |form|
  .modal-body
    = hidden_field_tag "action_type", params[:type]
    = form.label :subtype, "Action Type"
    = form.select :subtype, options_for_select( @action.hear_action_subtypes, @action.subtype ), :class => 'input-xlarge'

    = form.label :occurred_at, "Action date/time"
    = form.text_field :occurred_at, :value => l(@action.occurred_at, :format => :datetime_for_input), :readonly => true, :class => [:datetimepicker, 'input-xlarge']

    = form.label :details, "Details"
    = form.text_area :details, :size => "25x5", :class => 'input-xxlarge'

    -unless @action.created_at.nil? or @action.creator.nil?
      = "Action created by #{@action.creator.email} on #{(l @action.created_at, :format => :long)}"
  .modal-footer
    = form.submit "Save", :class => "btn"

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
artfully_ose-1.0.0.rc4 app/views/actions/new.html.haml
artfully_ose-1.0.0.rc3 app/views/actions/new.html.haml