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 [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.