app/views/code_spaces/_form.html.slim
= simple_form_for [@workgroup, @code_space], html: {class: 'form-horizontal', id: 'code_space_form'}, wrapper: :horizontal_form do |f|
.row
.col-lg-12
= f.input :short_name if @code_space.new_record?
= f.input :name
= f.input :description, as: :text
= f.input :allow_multiple_values, as: :switchable_checkbox
.separator
= cancel_button
= f.button :submit, t('actions.submit'), class: 'btn btn-default formSubmitr', form: 'code_space_form'