<?php
/*
Template Name: Ankieta1
*/
?>

<?php get_header(); ?>

<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>

<div class="container-fluid page2">

<div class="container">

<div class="row">

<div class="col-md-12 page1">
<h2><?php the_title(); ?></h2>
<?php the_content(); ?>
<?php  if (is_user_logged_in()) { ?>

<?php echo do_shortcode('[user-meta-profile form="ankieta1"]'); ?>

<?php } else { ?>

<?php echo pippin_registration_form_fields(); ?>

<?php }  ?>
</div>

</div>
</div>
</div>

<?php endwhile; endif; ?>

<?php get_footer(); ?>