Sha256: 6c611993a8756294285f9c7ef7bdb3ce6be00b4b8750497e3b2eb37bff73c4dc
Contents?: true
Size: 672 Bytes
Versions: 2
Compression:
Stored size: 672 Bytes
Contents
- @page_title = @page.breadcrumb.reverse.map(&:title).join(" - ") %section.content = documentation_breadcrumb_for @page = form_for @page, :url => @page.new_record? ? new_page_path(@page.parent ? @page.parent.full_permalink : nil) : edit_page_path(@page.full_permalink), :html => {:class => 'pageForm'} do |f| = error_messages_for @page %p.title= f.text_field :title, :placeholder => t('.title_placeholder') %p.content= f.text_area :content, :placeholder => t('.content_placeholder') %dl %dt= f.label :permalink %dd= f.text_field :permalink, :placeholder => t('.permalink_placeholder') %p.submit= f.submit t('.save'), :class => 'button'
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
documentation-1.0.1 | app/views/documentation/pages/form.html.haml |
documentation-1.0.0 | app/views/documentation/pages/form.html.haml |