<?php get_header() ?>

	<?php locate_template( array( 'leftsidebar.php' ), true ) ?>

	<div id="content">

		<div class="padder">

		<div id="content-top"></div>

		<div id="content-middle">

		<form class="achievement-edit-form standard-form" method="post" action="<?php dpa_achievements_permalink() ?>/<?php echo DPA_SLUG_CREATE ?>">

			<?php do_action( 'dpa_before_create_achievement' ) ?>

			<h3><?php _e( 'Crear nuevo Hito', 'buddypress' ) ?></h3>

			<p class="clear">&nbsp;</p>

			<div class="item-body" id="achievements-create-body">
				<?php do_action( 'dpa_before_create_achievement_body' ) ?>

				<?php if ( bp_is_active( 'groups' ) || is_multisite() && bp_is_active( 'blogs' ) ) : ?>
					<noscript><p><?php _e( "Some of the Action options below may not be relevant to the type or event of the Achievement.", 'buddypress' ) ?></p></noscript>
				<?php endif; ?>

				<?php do_action( 'template_notices' ) ?>

				<?php dpa_load_template( array( 'achievements/_addedit.php' ) ) ?>

				<?php wp_nonce_field( 'achievement-create' ) ?>

				<?php do_action( 'dpa_after_create_achievement_body' ); ?>

			</div><!-- .item-body -->

			<?php do_action( 'dpa_after_create_achievement' ) ?>

		</form>

		</div><!-- content-middle -->

		<div id="content-bottom"></div>

		</div><!-- .padder -->
	</div><!-- #content -->

	<?php locate_template( array( 'sidebar.php' ), true ) ?>

<?php get_footer() ?>
