wpninjas/ninja-forms — pull request #103 by BFTrick (2013-11-09 16:04:52+00:00)
Title: Adding Default WordPress Button Styles to Button Fields in Admin

The button type field should include the default WP styles. Otherwise they look out of place (see the left button):

![wordpress-buttons](https://f.cloud.github.com/assets/1065372/1506946/431ca9ac-4958-11e3-993f-0864d9b2747b.png)

You can if you need change these styles if you need to by passing in a $class parameter as usual

```
array(
'name' => 'my_button',
'type' => 'button',
'label' => __( 'My button', 'ninja-forms' ),
'desc' => __( 'The best button ever', 'ninja-forms' ),
'class' => 'button-primary',
),
```

Which would do this:
![wordpress-primary-button](https://f.cloud.github.com/assets/1065372/1506951/92d52762-4958-11e3-9277-9ee8479184ca.png)