.row .col-md-5 = f.text_field :name, label: t(:'syllabus.name') .col-md-1 = f.text_field :code, label: t(:'syllabus.code') .col-md-5 = f.select :department_id, options_from_collection_for_select(@departments, :id, :name), { prompt: true}, class: 'span12', label: t(:'department.singular') .col-md-1 = f.number_field :credits, label: t(:'syllabus.credits') .row .col-md-12 = f.text_area :description, size: "0x5", label: t(:'syllabus.description')