Displaying 1 result from an estimated 1 matches for "show_flash".
Did you mean:
show_flag
2008 Apr 10
3
Custom Form Builder Help
...but I created a file in lib/
doing this:
http://pastie.caboo.se/178776
It works great, except that the id''s and class names get messed up.
Instead of school_name, I get nilClass_name.
The other methods work fine however.
Here''s the form:
<h1>New School</h1>
<%= show_flash %>
<% af_form_for :school, :url => schools_path, :html => {:method
=> :post } do |f| %>
<%= f.typeahead :name, @schools, "name", "name" %>
<div class=''label''>School Type</div>
<%= f.radio_button :type, "College&q...