Merge pull request #51 from guilherme-santos/master

Update visibility
Put dismissible message at start of message

This is to switch around the self::$dismissButtonFormat to the front of the alert box as is shown on getbootstrap.com. In the current order, the X will be in the wrong place if the alert contains a display:block element such as the render output of the FlashMessenger helper.
Move dismissible button to front - test update

Update test
Update test for moved alert-dismissable
TwbBundle\Form\View\Helper\TwbBundleFormErrors  added for review
#53 FormError view helper and unit test complete
NB XML Meta Files Ignored
Merge pull request #54 from henryhayes/master

#53 Added FormErrors View Helper.
Merge pull request #52 from moderndeveloperllc/patch-1

Put dismissible message at start of message
Fix wrong class assigned to button of type "reset"

The "form-control" class should not be assigned to any button of type "reset".
Fix render of "reset" and "button" in inline form

In inline form, the "reset" and "button" type of Buttons don´t need all the extra markup, just the <button> tag with all the inner add-ons.
With this fix, we can also print group buttons. Example:
class GroupButtonsFieldset extends Fieldset{

	public function __construct($name = null, $options = array()) {
		parent::__construct($name, $options);
		$this->add(array(
			'name' => 'save',
			'type' => 'Button',
			'options' => array(
				'label' => 'Save new',
				'glyphicon' => 'floppy-disk',
				'twb-layout' => 'inline'
			),
			'attributes' => array(
				'type' => 'submit',
				'value' => 'save',
				'class' => 'btn btn-success'
			),
		));
		$this->add(array(
			'name' => 'reset',
			'type' => 'Button',
			'options' => array(
				'label' => 'Reset',
				'glyphicon' => 'refresh',
				'twb-layout' => 'inline'
			),
			'attributes' => array(
				'type' => 'reset',
				'class' => 'btn btn-warning'
			),
		));

		$this->add(array(
			'name' => 'generic-button',
			'type' => 'Button',
			'options' => array(
				'label' => 'Back to list',
				'glyphicon' => 'arrow-left',
				'twb-layout' => 'inline'
			),
			'attributes' => array(
				'type' => 'button',
				'class' => 'btn'
			),
		));
	}
}
Merge pull request #56 from alejandro-fiore/master

Fix wrong class assigned to button of type "reset"
Allow for blank messages sent to constructor. This will short circuit rendering.
Merge branch 'master' of https://github.com/neilime/zf2-twb-bundle

# By Henry Hayes (3) and others
# Via neilime (3) and Alejandro Fiore (1)
* 'master' of https://github.com/neilime/zf2-twb-bundle:
  Fix render of "reset" and "button" in inline form
  Fix wrong class assigned to button of type "reset"
  NB XML Meta Files Ignored
  #53 FormError view helper and unit test complete
  TwbBundle\Form\View\Helper\TwbBundleFormErrors  added for review
  Update test for moved alert-dismissable
  Put dismissible message at start of message
Actually, we want false to return a blank string. Make sure a numeric zero would be passed for rendering.
Merge pull request #57 from moderndeveloperllc/master

Allow for a blank message to be sent to the alert helper
Fix ZF 2.3.* compatibility
FormCollection: Set twb-layout on template element

The twb-layout was not propagated from the TwbBundleForm to the template
element that is generated by the TwbBundleFormCollection. This resulted
in incorrectly rendered template when e.g. horizontal layout was used.
Merge pull request #62 from Maners/collection-template

FormCollection: Set twb-layout on template element
Update composer.json