%= form_for $target => begin %= label_for title => 'Title' %= text_field title => $post->{title} %= label_for body => 'Body' %= text_area body => $post->{body} %= submit_button $caption % end