Skip to content

Instantly share code, notes, and snippets.

View jdhuntington's full-sized avatar
🏎️
-><-

JD Huntington jdhuntington

🏎️
-><-
View GitHub Profile
@jdhuntington
jdhuntington / _form.rb
Created February 24, 2012 16:48 — forked from mpattee/_form.rb
Unexpected lack of validation
<ul>
<li><%= f.label :name %>: <%= f.text_field :name %></li>
<li><%= f.label :url %>: <%= f.text_field :url, :size => 100 %></li>
<li><%= f.label :slot %>: <%= f.select :equipmentSlot, @slots %></li>
<li><%= f.label :weight %>: <%= f.text_field :weight %></li>
<li><%= f.label :price %>: <%= f.text_field :price %></li>
<li><%= f.label :rarity %>: <%= f.text_field :rarity %></li>
<li><%= f.label :speed %>: <%= f.text_field :speed %></li>
<li><%= f.label :armor_type %>: <%= f.text_field :armorType %></li>
<li><%= f.label :armor_check %>: <%= f.text_field :armorCheck %></li>