Sha256: 59005bd3fbb6b7a7a4187d0478709f56739facc45700a98849450040aeb03f18

Contents?: true

Size: 639 Bytes

Versions: 5

Compression:

Stored size: 639 Bytes

Contents

.modal-header
  %h3 Edit Note

= form_for @note, :url => person_note_path(@person, @note) do |form|
  .modal-body
    = form.label :occurred_at, "Note date/time"
    = form.text_field :occurred_at, :value => l(@note.occurred_at, :format => :datetime_for_input), :readonly => true, :class => [:datetimepicker, 'input-xlarge']
    = form.label :details, "Details"
    = form.text_area :text, :size => "125x5", :class => 'input-xxlarge'

    -unless @note.created_at.nil? || @note.user.nil?
      %h4= "Note created on #{(l @note.created_at, :format => :long)} by #{@note.user.email}"
  .modal-footer
    = form.submit "Save", :class => "btn"

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
artfully_ose-1.1.0 app/views/notes/edit.html.haml
artfully_ose-1.1.0.rc2 app/views/notes/edit.html.haml
artfully_ose-1.1.0.rc1 app/views/notes/edit.html.haml
artfully_ose-1.0.0.rc4 app/views/notes/edit.html.haml
artfully_ose-1.0.0.rc3 app/views/notes/edit.html.haml