Sha256: b02713a97ac4202269d4dd3e3e6a0a88662ea8cf70faf54a26fb7ae1e7ebbce1
Contents?: true
Size: 801 Bytes
Versions: 3
Compression:
Stored size: 801 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, cluster_options: @cluster_options, layout_at_options: @layout_at_options, author_options: @author_options } %> <div class="form-actions"> <%= submit_button f %> </div> <% end %> </div> <footer> </footer> </article>
Version data entries
3 entries across 3 versions & 1 rubygems