Sha256: 33049c5f2784f7b1b34730c712600f52f566390fb2c26d311d73bcc08181b222

Contents?: true

Size: 575 Bytes

Versions: 3

Compression:

Stored size: 575 Bytes

Contents

<%= link_to "bla", bla_dummy_path %>
<h1>Builtin Form Helper</h1>
<%= form_for @dummy_model, :url => "/dummy" do |f| %>
  <div><%= label_tag do %>
    <h3>f.uetext_area</h3>
    <%= f.uetext_area :desc %>
  <% end %></div>

  <div><%= label_tag do %>
    <h3>uetext_area_tag</h3>
    <%= uetext_area_tag :dummy, @dummy %>
  <% end %></div>

  <%= f.submit :save %>
<% end %>

<h1>Simple Form</h1>
<%= simple_form_for @dummy_model, :url => "/dummy" do |f| %>
  <h3>f.input :desc, :as => :ueditor</h3>
  <%= f.input :desc, :as => :ueditor %>

  <%= f.submit :save %>
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ueditor.rails-0.0.5 test/dummy/app/views/dummy/new.html.erb
ueditor.rails-0.0.4 test/dummy/app/views/dummy/new.html.erb
ueditor.rails-0.0.3 test/dummy/app/views/dummy/new.html.erb