Sha256: 2c0800c30e8ad1dc8b78f80b10c6617a2d791e2abbf8b28998bb3072bebd7d54

Contents?: true

Size: 584 Bytes

Versions: 3

Compression:

Stored size: 584 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
  end %>

  <div>
    <%= simple_form_for @page, as: :page, html: { class: 'form-horizontal' } do |f| %>
      <%= 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

3 entries across 3 versions & 1 rubygems

Version Path
simple-pages-rails-0.2.0 app/views/simple_pages/pages/new.html.erb
simple-pages-rails-0.1.0 app/views/simple_pages/pages/new.html.erb
simple-pages-rails-0.0.1 app/views/simple_pages/pages/new.html.erb