You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
922 B
31 lines
922 B
= error_messages_for 'course'
|
|
|
|
%dl
|
|
%dt
|
|
%label{:for => "course_full_name"}= Course.human_attribute_name(:full_name)
|
|
%dd= text_field 'course', 'full_name'
|
|
|
|
%dt
|
|
%label{:for => "course_short_name"}= Course.human_attribute_name(:short_name)
|
|
%dd= text_field 'course', 'short_name'
|
|
|
|
%dt
|
|
%label{:for => "course_code"}= Course.human_attribute_name(:code)
|
|
%dd= text_field 'course', 'code'
|
|
|
|
%dt
|
|
%label{:for => "course_grade"}= Course.human_attribute_name(:grade)
|
|
%dd= text_field 'course', 'grade'
|
|
|
|
%dt
|
|
%label{:for => "course_period"}= Course.human_attribute_name(:period)
|
|
%dd= text_field 'course', 'period'
|
|
|
|
%dt
|
|
%label{:for => "course_hidden"}= Course.human_attribute_name(:hidden)
|
|
%dd= check_box 'course', 'hidden'
|
|
|
|
%dt
|
|
%label{:for => "course_description"}= Course.human_attribute_name(:description)
|
|
%dd= preserve(text_area('course', 'description', :cols => 60, :rows => 10))
|