I am attempting to format this complete form with an indentation:
<%= form_for([micropost, micropost.comments.build], :html => { :id => "blah_form" }) do |f| %>
<div class="field">
<p2>Who are you?</p2>
<%= f.text_field :commenter %>
</div>
<div class="field">
<p2>What deal are you offering?</p2>
<%= f.text_area :body %>
</div>
<div class="actions">
<%= f.submit "Submit"%>
</div>
<% end %>
However, I do not wish to indent the following text area within this form:
<%= form_for(@micropost) do |f| %>
<%= render 'shared/error_messages', object: f.object %>
<div class="field">
<%= f.text_area :content, placeholder: "What's something else you want to buy?" %>
</div>
<%= f.submit "Post", class: "btn btn-large btn-primary" %>
<% end %>
Currently, my CSS file specifies:
#blah_form input, textarea, b4 {margin-left:80px}