You can improve the setting of data attributes by using the ```data``` hash. For example:
```%button{:data => { :toggle => 'collapse, :target => 'asdf' } }```