This repository has been archived on 2022-08-09. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
wikiufc/app/views/courses/_form.html.haml
2015-09-04 13:45:37 -04:00

31 lines
922 B
Plaintext

= 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))