Sha256: fc16c9e5aad43b8f854fcbef7bc3ef88646e307a4b1edf058b91d266026f0a51
Contents?: true
Size: 786 Bytes
Versions: 4
Compression:
Stored size: 786 Bytes
Contents
<div id="page_content"> <h2 id="page-title">New Page</h2> <div class="content"> <?r if @page.errors.count > 0 ?> <div class="message error"> <?r @page.errors.each do |k, v| ?> #{k} #{v.first}<br /> <?r end ?> </div> <?r end ?> <div class="new-post-form tabular"> #{ form_for(@page, :method => :post, :action => '/admin/pages/create') do |f| f.input_text 'Title', :title f.input_text 'Slug', :slug f.textarea 'Body', :body f.g.p do f.g.label do "On Menu?" end f.g.input(:type => 'checkbox', :id => 'on_menu', :name => 'on_menu', :value => 1) end f.submit "Create", :class => "submit-btn" end } </div> </div> </div>
Version data entries
4 entries across 4 versions & 1 rubygems