%= f.label :code, "Code:" %> <%= f.text_field :code, :size => 20 %> <%= f.label :title, "Title:" %> <%= f.text_field :title, :size => 40 %> <%= f.text_area :body, :rows => 7, :cols => 100 %>