Sha256: a50c37a375d0de8b5229082e4236f87299306ccf3ac2c78de8aa8e5569201456
Contents?: true
Size: 724 Bytes
Versions: 2
Compression:
Stored size: 724 Bytes
Contents
<article> <header> <h1><%= t('.title') %></h1> </header> <%= render_list class: 'nav nav-tabs' do |li| if can? :index, SimplePages::Page li << [link_to(t('helpers.index'), pages_path), { class: 'pull-right' }] end if can? :show, @page li << [link_to(t('helpers.show'), @page), { class: 'pull-right' }] end end %> <div> <%= simple_form_for @page, as: :page, html: { class: 'form-horizontal' } do |f| %> <%= f.error_notification %> <%= render 'form', f: f, author_options: @author_options, layout_at_options: @layout_at_options %> <div class="form-actions"> <%= submit_button f %> </div> <% end %> </div> <footer> </footer> </article>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
simple-pages-rails-0.3.1 | app/views/simple_pages/pages/edit.html.erb |
simple-pages-rails-0.3.0 | app/views/simple_pages/pages/edit.html.erb |