Skip to content

Instantly share code, notes, and snippets.

= text_field_tag "page[parts_attributes][#{page_part_counter}][content]", page_part.content.try(:strftime, "%B %d, %Y"), :class => 'date'
.row= file_field_tag "page[parts_attributes][#{page_part_counter}][document]"
- if page_part.document.file?
.row= page_part.document.original_filename