Wrestled out the attributes needed to make a bootstrap-compatible form