Sha256: 6b0701a67216ef542a5665c49a927e346cb87a2a0dbf0b6729ae0a632c3e27d4

Contents?: true

Size: 855 Bytes

Versions: 11

Compression:

Stored size: 855 Bytes

Contents

<style>
textarea { width: 700px; }
</style>

<%= 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 :article %><br />
    <%= f.text_area :article %>
  </div>
  <div class="actions">
    <%= f.submit %>
  </div>
<% end %>

<%= include_imperavi_stylesheet %>
<%= include_imperavi_javascript %>
<%= imperavi :page_article,
  :paths => {
    :images => {
      :upload => images_path,
      :list   => images_path(:format => :json)
    }
  }
%>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
imperavi-rails-0.0.12.beta spec/dummy/app/views/pages/_form.html.erb
imperavi-rails-0.0.11.beta spec/dummy/app/views/pages/_form.html.erb
imperavi-rails-0.0.10.beta spec/dummy/app/views/pages/_form.html.erb
imperavi-rails-0.0.9.beta spec/dummy/app/views/pages/_form.html.erb
imperavi-rails-0.0.8.beta spec/dummy/app/views/pages/_form.html.erb
imperavi-rails-0.0.7.beta spec/dummy/app/views/pages/_form.html.erb
imperavi-rails-0.0.6.beta spec/dummy/app/views/pages/_form.html.erb
imperavi-rails-0.0.5.beta spec/dummy/app/views/pages/_form.html.erb
imperavi-rails-0.0.4.beta spec/dummy/app/views/pages/_form.html.erb
imperavi-rails-0.0.3.beta spec/dummy/app/views/pages/_form.html.erb
imperavi-rails-0.0.2.beta spec/dummy/app/views/pages/_form.html.erb