Sha256: 899a9deb5e69c763fa80a9d1b0d61cd008743c0e0e3a848cb6695a324d6bfaf2

Contents?: true

Size: 562 Bytes

Versions: 21

Compression:

Stored size: 562 Bytes

Contents

<h1>Edit your Post</h1>
<%= form_for @post, :html => {:'data-widget' => 'form', :'data-widget-ajax' => false, 
      :'data-widget-validators' => ActiveSupport::JSON.encode({'#post_title' => 'not_empty'})} do |f| %>
  <%= f.label :email %>
  <%= f.error_message_on :email %>
  <%= f.text_field :email, :'data-widget-validator' => 'not_empty' %>
  
  <%= f.label :title %>
  <%= f.error_message_on :title %>
  <%= f.text_field :title %>
  
  <%= f.label :message %>
  <%= f.error_message_on :message %>
  <%= f.text_area :message %>
  
  <%= f.submit %>
<% end %>

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
edifice-1.0 test/rails3/app/views/posts/new.html.erb
edifice-0.10.3 test/rails3/app/views/posts/new.html.erb
edifice-0.10.2 test/rails3/app/views/posts/new.html.erb
edifice-0.10.1 test/rails3/app/views/posts/new.html.erb
edifice-0.10.0 test/rails3/app/views/posts/new.html.erb
edifice-0.9.0 test/rails3/app/views/posts/new.html.erb
edifice-0.8.0 test/rails3/app/views/posts/new.html.erb
edifice-0.7.3 test/rails3/app/views/posts/new.html.erb
edifice-0.7.2 test/rails3/app/views/posts/new.html.erb
edifice-0.7.1 test/rails3/app/views/posts/new.html.erb
edifice-0.7.0 test/rails3/app/views/posts/new.html.erb
edifice-0.6.9 test/rails3/app/views/posts/new.html.erb
edifice-0.6.8 test/rails3/app/views/posts/new.html.erb
edifice-0.6.7 test/rails3/app/views/posts/new.html.erb
edifice-0.6.6 test/rails3/app/views/posts/new.html.erb
edifice-0.6.5 test/rails3/app/views/posts/new.html.erb
edifice-0.6.4 test/rails3/app/views/posts/new.html.erb
edifice-0.6.3 test/rails3/app/views/posts/new.html.erb
edifice-0.6.2 test/rails3/app/views/posts/new.html.erb
edifice-0.6.1 test/rails3/app/views/posts/new.html.erb