patricktalmadge/bootstrapper — pull request #43 by Anahkiasen (2012-09-10 12:37:00+00:00)
Title: Allows support for strictly informative alerts

This is something that I think can be made better but I open this for discussions.
Currently whenever you call `Alert::something()` the default behavior is to have the close icon, and the fact is that since that close button requires the Bootstrap-alerts plugin, I don't think it's in its majority used that way.

Now we could change the default of that function, but again that's not the Laravel way so I created a fictive call to allow this :
```php
{{ Alert::error('Mymessage', 'true', array(attributes)) }}
{{ Alert::open_success('Mymessage, array(attributes)) }}
```

The second call will not display the close icon. Now the `open` keyword is kind of ugly, so I'm open to discussions on something better and yet still short.
If the decisions goes to changing the default to `false`, then we could change the behavior of Alert to this :
```php
{{ Alert::error('Mymessage', array(attributes)) }}
{{ Alert::closable_success('Mymessage', array(attributes)) }}
```

And thus definitely get rid of that close argument that just stands in the way, bothering everyone.