test/dummy/app/views/posts/_formtastic_form.html.erb in rich-1.2.0 vs test/dummy/app/views/posts/_formtastic_form.html.erb in rich-1.3.0
- old
+ new
@@ -1,11 +1,17 @@
<%= semantic_form_for @post do |f| %>
<%= f.inputs do %>
<%= f.input :name %>
<%= # f.input :title, :as => :rich_asset
%>
- <%= f.input :content, :as => :rich, :config => { :default_style => "thumb" } %>
+
+ <%= f.input :content, :as => :rich_picker, :config => { :default_style => "thumb" } %>
+ <%= f.input :image_id, :as => :rich_picker, :config => { :default_style => "thumb" } %>
<% end %>
- <%= f.buttons do %>
- <%= f.commit_button %>
- <% end %>
+
+
+ <%= f.actions do %>
+ <%= f.action :submit, :as => :button %>
+ <%= f.action :cancel, :as => :link %>
+ <% end %>
+
<% end %>