<br />

<div class="row">
  <div class="col-sm-6 required">
	<label class="control-label"><?php echo $entry_password; ?></label>
	<input type="password" name="password" value="" class="form-control" />
  </div>
  <div class="col-sm-6 required">
	<label class="control-label"><?php echo $entry_confirm; ?></label>
	<input type="password" name="confirm" value="" class="form-control" />
  </div>
  <div class="col-xs-12" style="clear:both;margin:10px 0px 20px;">
	<?php if (!empty($field_newsletter['required'])) { ?>
	<input type="checkbox" name="newsletter" value="1" id="newsletter" class="hide" checked="checked" />
	<?php } elseif (!empty($field_newsletter['display'])) { ?>
	  <?php if(!empty($field_newsletter['default'])) { ?>
	  <input type="checkbox" name="newsletter" value="1" id="newsletter" checked="checked" />
	  <?php } else { ?>
	  <input type="checkbox" name="newsletter" value="1" id="newsletter" />
	  <?php } ?>
	  <label for="newsletter"><?php echo $entry_newsletter; ?></label><br />
	<?php } else { ?>
    <input type="checkbox name="newsletter" value="1" id="newsletter" class="hide" />
	<?php } ?>
	<?php if ($text_agree) { ?>
    <input type="checkbox" name="agree" value="1" id="agree-reg" />
	<label for="agree-reg"><?php echo $text_agree; ?></label>
	<?php } ?>
  </div>
</div>
