```ruby
= boolean_field :use_serial_console, "data-enabler" => "true", "data-enabler-target" => "#serial_tty"
```

After that you can remove the custom barclamp specific javascript file -.-