Sha256: 7a626618cc71c22ebb1bda4b3cd54eab7b296a147ffb3127de24ea86a1c2ab35

Contents?: true

Size: 591 Bytes

Versions: 13

Compression:

Stored size: 591 Bytes

Contents

<%= form_for(@page) do |f| %>
  <% if @page.errors.any? %>
    <div id="error_explanation">
      <h2><%= pluralize(@page.errors.count, "error") %> prohibited this page from being saved:</h2>

      <ul>
      <% @page.errors.full_messages.each do |msg| %>
        <li><%= msg %></li>
      <% end %>
      </ul>
    </div>
  <% end %>

  <div class="field">
    <%= f.label :title %><br />
    <%= f.text_field :title %>
  </div>
  <div class="field">
    <%= f.label :content %><br />
    <%= f.text_area :content %>
  </div>
  <div class="actions">
    <%= f.submit %>
  </div>
<% end %>

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
active_admin_editor-0.3.6 test/dummy/app/views/pages/_form.html.erb
active_admin_editor-0.3.5 test/dummy/app/views/pages/_form.html.erb
active_admin_editor-0.3.4 test/dummy/app/views/pages/_form.html.erb
active_admin_editor-0.3.3 test/dummy/app/views/pages/_form.html.erb
active_admin_editor-0.3.2 test/dummy/app/views/pages/_form.html.erb
active_admin_editor-0.3.1 test/dummy/app/views/pages/_form.html.erb
active_admin_editor-0.3.0 test/dummy/app/views/pages/_form.html.erb
active_admin_editor-0.2.4 test/dummy/app/views/pages/_form.html.erb
active_admin_editor-0.2.3 test/dummy/app/views/pages/_form.html.erb
active_admin_editor-0.2.2 test/dummy/app/views/pages/_form.html.erb
active_admin_editor-0.2.1 test/dummy/app/views/pages/_form.html.erb
active_admin_editor-0.2.0 test/dummy/app/views/pages/_form.html.erb
active_admin_editor-0.1.0 test/dummy/app/views/pages/_form.html.erb