Sha256: fd64d6f0271f5f58afc34b105c41bc00e46e70b787c202bb3922d0a89e6133d9

Contents?: true

Size: 618 Bytes

Versions: 2

Compression:

Stored size: 618 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| %>
      <%= 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/new.html.erb
simple-pages-rails-0.3.0 app/views/simple_pages/pages/new.html.erb