Example #1
0
              <div class="control-group">
                <label for="select01" class="control-label"> <?php 
echo $this->tr('session.view.register.country');
?>
:</label>
                <?php 
\Helpers\Form::create_input('country', 'select', $errors, $values = 'SESSION');
?>
              </div>
              <div class="control-group">
                <label class="control-label"> <?php 
echo $this->tr('session.view.register.state');
?>
:</label>
                <?php 
\Helpers\Form::create_input('state', 'select', $errors, $values = 'SESSION');
?>
              </div>
            </fieldset>
          </div>
          <div class="pull-right">
            <label class="checkbox inline">
              <input type="checkbox" name="terms" />
            </label>
            <?php 
echo $this->tr('session.view.register.policy.label');
?>
 <a href="<?php 
echo $this->url('/home/privacy');
?>
" ><?php 
        <label class="control-label"> Address2:</label>
        <?php 
\Helpers\Form::create_input('shipping_address2', 'text', $errors, $values = 'SESSION', array('class' => 'input-xlarge'));
?>
      </div>
      <div class="control-group">
        <label class="control-label"><span class="red">*</span> City:</label>
        <?php 
\Helpers\Form::create_input('shipping_city', 'text', $errors, $values = 'SESSION', array('class' => 'input-xlarge'));
?>
      </div>
      <div class="control-group">
        <label class="control-label"><span class="red">*</span> State:</label>
        <?php 
\Helpers\Form::create_input('shipping_state', 'select', $errors, $values = 'SESSION');
?>
      </div>
      <div class="control-group">
        <label class="control-label"><span class="zip_code">*</span> Zip Code:</label>
        <?php 
\Helpers\Form::create_input('shipping_zip_code', 'text', $errors, $values = 'SESSION', array('class' => 'input-xlarge'));
?>
      </div>
      <?php 
\Helpers\Form::create_input('use_same_address', 'checkbox', $errors, $values = 'SESSION', array('class' => 'input-xlarge'));
?>
      <small>Use Same Address for Billing?</small>
    </fieldset>
  </div>
</div>
Example #3
0
          <?php 
\Helpers\Form::create_input('password', 'password', $errors, $values = 'SESSION', array('class' => 'input-xlarge', 'others' => 'placeholder="' . $this->tr('session.view.change.current') . '"'));
?>
        </div>
        <div class="control-group">
          <?php 
\Helpers\Form::create_input('new_password', 'password', $errors, $values = 'SESSION', array('class' => 'input-xlarge', 'others' => 'placeholder="' . $this->tr('session.view.change.new') . '"'));
?>
          <span class="info"><small><?php 
echo $this->tr('session.view.register.password.explanation');
?>
</small></span>
        </div>
        <div class="control-group">
          <?php 
\Helpers\Form::create_input('new_password_confirmation', 'password', $errors, $values = 'SESSION', array('class' => 'input-xlarge', 'others' => 'placeholder="' . $this->tr('session.view.change.confirmation') . '"'));
?>
        </div>
      </fieldset>
    </div>
    <div class="pull-right">
      <input type="submit" class="submit" value="<?php 
echo $this->tr('session.view.change.button.label');
?>
 &rarr;">
    </div>
  </form>
  <div style="clear:both; display:block; height:40px"></div>
</div>

\Helpers\Form::create_input('billing_address1', 'text', $errors, $values = 'SESSION', array('class' => 'input-xlarge'));
?>
      </div>
      <div class="control-group">
        <label class="control-label"> Address2:</label>
        <?php 
\Helpers\Form::create_input('billing_address2', 'text', $errors, $values = 'SESSION', array('class' => 'input-xlarge'));
?>
      </div>
      <div class="control-group">
        <label class="control-label"><span class="red">*</span> City:</label>
        <?php 
\Helpers\Form::create_input('billing_city', 'text', $errors, $values = 'SESSION', array('class' => 'input-xlarge'));
?>
      </div>
      <div class="control-group">
        <label class="control-label"><span class="red">*</span> State:</label>
        <?php 
\Helpers\Form::create_input('billing_state', 'select', $errors, $values = 'SESSION');
?>
      </div>
      <div class="control-group">
        <label class="control-label"><span class="zip_code">*</span> Zip Code:</label>
        <?php 
\Helpers\Form::create_input('billing_zip_code', 'text', $errors, $values = 'SESSION', array('class' => 'input-xlarge'));
?>
      </div>
    </fieldset>
  </div>
</div>
Example #5
0
?>
 &nbsp;
    <small><?php 
echo $this->tr('session.view.forgot.header.explanation');
?>
</small>
  </h2>
    <form action="<?php 
$this->url('/session/forgotpassword');
?>
" method="post" class="form-register">
    <div class="registerbox">
      <fieldset>
        <div class="control-group">
          <?php 
\Helpers\Form::create_input('email', 'text', $errors, $values = 'SESSION', array('class' => 'input-xlarge', 'others' => 'placeholder="' . $this->tr('session.view.forgot.email.placeholder') . '"'));
?>
 </div>
      </fieldset>
    </div>
    <div class="pull-right">
      <input type="submit" class="submit" value="<?php 
echo $this->tr('session.view.forgot.button.label');
?>
 &rarr;">
    </div>
  </form>
  <div style="clear:both; display:block; height:40px"></div>
</div>