Skip to content

Instantly share code, notes, and snippets.

@patrickmaciel
Created August 19, 2013 16:56
Show Gist options
  • Save patrickmaciel/6271368 to your computer and use it in GitHub Desktop.
Save patrickmaciel/6271368 to your computer and use it in GitHub Desktop.
Try to resize input and add-ons like buttons in Twitter Bootstrap 2.3.2
<?php
<span class="input-prepend input-append">
<span class="add-on">'$</span>
<?php echo $this->Form->input(amount', array('div' => false, 'type' => 'text', 'label' => false, 'class' => 'money input-mini')) ?>
<button type='submit' class="btn btn-small btn-success" title='Send'><i class="icon-ok icon-white"></i></button>
<button type='button' class="btn btn-small btn-danger cancel-adjustment" title='Cancel'><i class="icon-ban-circle icon-white"></i></button>
</span>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment