-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Richard Hurt
committed
Aug 6, 2009
1 parent
8e5dad8
commit b685f20
Showing
11 changed files
with
84 additions
and
94 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,27 @@ | ||
<% content_for :left do %> | ||
<%= show_course_list %> | ||
<%= show_course_list %> | ||
<% end %> | ||
<%= error_messages_for :course, :header_message => "Please Try Again!", :message => "We had some problems saving your changes:" %> | ||
|
||
<div class="box span-14"> | ||
<% form_for (@course) do |f| %> | ||
<fieldset> | ||
<%= content_tag :legend, 'New Course' %> | ||
<% form_for (@course) do |f| %> | ||
<fieldset> | ||
<%= content_tag :legend, 'New Course' %> | ||
<%= f.label :name, {}, :class => 'req' %> | ||
<%= f.text_field :name %> | ||
<%= f.label :name, {}, :class => 'req' %> | ||
<%= f.text_field :name %> | ||
<br /> | ||
<%= f.label :term_id, {}, :class => 'req' %> | ||
<%= collection_select :course, :term_id, Term.active, :id, :name %> | ||
<%#= f.label :term_id, {}, :class => 'req' %> | ||
<%#= collection_select :course, :term_id, Term.active, :id, :name %> | ||
<br /> | ||
<%= f.label :grading_scale_id, {}, :class => 'req' %> | ||
<%= collection_select :course, :grading_scale_id, GradingScale.find(:all), :id, :name %> | ||
<%= f.label :grading_scale_id, {}, :class => 'req' %> | ||
<%= collection_select :course, :grading_scale_id, GradingScale.find(:all), :id, :name %> | ||
|
||
<div class="spacer"> | ||
<%= f.submit 'Create', :class=> 'btn positive' %> | ||
<%= link_to 'Cancel', {:action=> 'index', :controller=> 'courses'}, :class => 'btn positive' %> | ||
</div> | ||
</fieldset> | ||
<% end %> | ||
<div class="spacer"> | ||
<%= f.submit 'Create', :class=> 'btn positive' %> | ||
<%= link_to 'Cancel', {:action=> 'index', :controller=> 'courses'}, :class => 'btn positive' %> | ||
</div> | ||
</fieldset> | ||
<% end %> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,65 +1,65 @@ | ||
sy07: | ||
type: SchoolYear | ||
name: 2007-2008 | ||
begin_date: 2007/08/01 | ||
end_date: 2008/06/27 | ||
begin_date: 2007-08-01 | ||
end_date: 2008-06-27 | ||
|
||
sy08: | ||
type: SchoolYear | ||
name: 2008-2009 | ||
begin_date: 2008/08/01 | ||
end_date: 2009/06/27 | ||
begin_date: 2008-08-01 | ||
end_date: 2009-06-27 | ||
|
||
sy09: | ||
type: SchoolYear | ||
name: 2009-2010 | ||
begin_date: 2008/08/01 | ||
end_date: 2010/06/27 | ||
begin_date: 2008-08-01 | ||
end_date: 2010-06-27 | ||
|
||
t1-08: | ||
type: Term | ||
name: GP1-08 | ||
begin_date: 2008/08/01 | ||
end_date: 2008/11/17 | ||
begin_date: 2008-08-01 | ||
end_date: 2008-11-17 | ||
school_year_id: 594005756 | ||
active: true | ||
t2-08: | ||
type: Term | ||
name: GP2-08 | ||
begin_date: 2008/11/17 | ||
end_date: 2009/03/28 | ||
begin_date: 2008-11-17 | ||
end_date: 2009-03-28 | ||
school_year_id: 594005756 | ||
active: true | ||
|
||
t3-08: | ||
type: Term | ||
name: GP3-08 | ||
begin_date: 2009/03/28 | ||
end_date: 2009/06/28 | ||
begin_date: 2009-03-28 | ||
end_date: 2009-06-28 | ||
school_year_id: 594005756 | ||
active: false | ||
|
||
t1-09: | ||
type: Term | ||
name: GP1-09 | ||
begin_date: 2009/08/01 | ||
end_date: 2009/11/17 | ||
begin_date: 2009-08-01 | ||
end_date: 2009-11-17 | ||
school_year_id: 594005757 | ||
active: true | ||
t2-09: | ||
type: Term | ||
name: GP2-09 | ||
begin_date: 2009/11/17 | ||
end_date: 2010/03/28 | ||
begin_date: 2009-11-17 | ||
end_date: 2010-03-28 | ||
school_year_id: 594005757 | ||
active: true | ||
|
||
t3-10: | ||
type: Term | ||
name: GP3-10 | ||
begin_date: 2010/03/28 | ||
end_date: 2010/06/28 | ||
begin_date: 2010-03-28 | ||
end_date: 2010-06-28 | ||
school_year_id: 594005757 | ||
active: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters