<?php endif; ?>
<?php if ( bbp_current_user_can_access_create_topic_form() ) : ?>
<div id="new-topic-<?php bbp_topic_id(); ?>" class="bbp-topic-form">
<form id="new-post" name="new-post" method="post" action="">
<?php do_action( 'bbp_theme_before_topic_form' ); ?>
<fieldset class="bbp-form">
<legend>
<?php
if ( bbp_is_topic_edit() )
printf( __( 'Now Editing “%s”', 'bbpress' ), bbp_get_topic_title() );
else
bbp_is_single_forum() ? printf( __( 'Create New Topic in “%s”', 'bbpress' ), bbp_get_forum_title() ) : _e( 'Create New Topic', 'bbpress' );
?>