Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement minor changes to clarify username field in course request form #31

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions public/sfu/css/sfu.css
Original file line number Diff line number Diff line change
Expand Up @@ -83,4 +83,13 @@
url('../fonts/dinpro-medium-webfont.svg#DINProMedium') format('svg');
font-weight: normal;
font-style: normal;
}

/* !-- Form styles -- */

.bootstrap-form div.help
{
margin-top: 0.5em;
font-size: 0.8em;
color: #888;
}
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
<h1>Start a New Course</h1>
<% form_tag({:controller => "course_form" ,:action => "create"}, :class => "bootstrap-form form-horizontal") do -%>
<div class="control-group">
<%= label_tag "Courses For", "Courses For", :class => "control-label" %>
<%= label_tag "username", "Courses Taught By", :class => "control-label" %>
<div class="controls">
<%= text_field_tag "username", nil, :class => "input-large", :value => @sfuid, :required => true, :placeholder => "SFU Computing ID" %>
<button type="button" id="update_course_list" class="btn">Update</button>
<div class="help">Enter the SFU Computing ID of the instructor teaching the courses to be created</div>
</div>
</div>

Expand Down