lib/views/form.html.erb in admin_assistant-2.0.0.pre1 vs lib/views/form.html.erb in admin_assistant-2.0.0.pre2

- old
+ new

@@ -12,21 +12,21 @@ </div> </div> <% if !@record.errors.empty? %> <%= error_messages_for 'record' %> <% end %> - <% form_for(@record, form_view.form_for_args) do |rails_form| %> + <%= form_for(@record, form_view.form_for_args) do |rails_form| %> <% if @origin %> <%= hidden_field_tag 'origin', @origin %> <% end %> <% form_view.columns.each do |column| %> <div class="column"> <label for="<%= column.field_id %>"><%= h(column.label) %></label> <% if column.description %> <p class="description"><%= h(column.description) %></p> <% end %> - <%= column.html(rails_form) %> + <%= raw(column.html(rails_form)) %> </div> <% end %> <div> <%= submit_tag(form_view.submit_value) %> <% form_view.extra_submit_buttons.each do |extra_submit_button| %>