bootstrap: more fiddling with layouts and so on

fun fact I just learnt: clicks on the "toggle rich text editor" button sometimes made the page refresh. That was because the default action for buttons is "submit", so when they're inside a form it gets submitted.
Set type="button" to stop it happening.