Hey, a question I can answer! :-)

Those aren't ruby classes as you're probably thinking about. They're css 
classes and (from my limited knowledge of css) basically control the 
presentation of the text in between the tags.

I'd look in the css file for "field" to see how it's being presented 
(font, color, size, etc)

Abder-Rahman Ali wrote:
> At: http://edgeguides.rubyonrails.org/getting_started.html
> 
> You can see the following for example in /app/views/posts/show.html.erb
> 
> .
> .
> <div class="field">
>     <%= f.label :body %><br />
>     <%= f.text_area :body %>
>   </div>
>   <div class="actions">
>     <%= f.submit %>
>   </div>
> .
> .
> 
> Regarding:
> 
> <div class="field">
> <div class="actions">
> 
> Are those classes built in Rails? Such that we don't have to define them
> like we do when building an HTML/CSS website?
> 
> Thanks.

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to