Advertisement
ecanela

Untitled

Dec 22nd, 2014
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. %h1= content_for :title, DocumentRequest.model_name.human
  2.  
  3. .fieldset
  4. = simple_form_for @document_request, :validation => true do |f|
  5. = f.input :ExternalDocument
  6. = f.input :project_code, disabled: true
  7. = f.input :company_name, disabled: true
  8. = f.input :comercial_entity_name, disabled: true
  9. = f.input :Requested, as: :boolean
  10. = f.input :Performed, as: :boolean
  11. = f.input :RequestDate, as: :date
  12. = f.input :PerformeDate, as: :date
  13. = f.input :PrevisionalDate, as: :date
  14. = f.input :Local
  15. = f.input :City
  16. = f.input :PostalCode
  17. = f.input :Fax
  18. = f.input :Phone
  19. = f.input :Email
  20. = f.input :Notes, as: :text
  21.  
  22. %p
  23. = f.button :submit
  24. = link_to 'Cancel', :back
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement