Is there a decent standard WP way of wrapping the 3 standard fields (name, email, website) in a div? I'm using bootstrap and would like them to be in their own row.
Example:
<?php
$fields = array(
'author' =>
'<div class="col-md-4 comment-form-author">' .
'<input placeholder="'.__( 'Name', '_lp' ).' '.( $req ? ' ( Required )' : '' ) .'" id="author" name="author" type="text" value="' . esc_attr( $commenter['comment_author'] ) .
'" size="30"' . $aria_req . ' /></div>',
'email' =>
'<div class="col-md-4 comment-form-email">'.
'<input placeholder="'.__( 'Email', '_lp' ).' '.( $req ? ' ( Required )' : '' ) .'" id="email" name="email" type="text" value="' . esc_attr( $commenter['comment_author_email'] ) .
'" size="30"' . $aria_req . ' /></div>',
'url' =>
'<div class="col-md-4 comment-form-url">' .
'<input placeholder="'.__( 'Website', '_lp' ).' '.( $req ? ' ( Required )' : '' ) .'" id="url" name="url" type="text" value="' . esc_attr( $commenter['comment_author_url'] ) .
'" size="30" /></div>',
);
?>
Originally I could have put the opening <div class="row">
before the author div, then the closign </div>
after the closing url div...but in the case that not all three are output, I'd break the HTML.