Created
December 28, 2011 05:10
-
-
Save mgreenly/1526419 to your computer and use it in GitHub Desktop.
More on Twitter Bootsrap error handling in rails #2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <%= form_for(@item, :builder => BootStrapFormBuilder) do |f| %> | |
| <fieldset> | |
| <legend><%= content_for :page_heading %></legend> | |
| <%= f.text_field :pn %> | |
| <%= f.text_field :desc %> | |
| <%= f.text_area :memo, :rows => 3 %> | |
| <%= f.select :vendor_id, Company.all(:order => [:name]).collect {|company| [company.name, company.id]}, {:include_blank => true}, {:class => 'span4'} %> | |
| <div class="actions"> | |
| <%= f.submit %> | |
| <%= f.cancel %> | |
| </div> | |
| </fieldset> | |
| <% end %> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment