Skip to content

Commit

Permalink
styled filter box
Browse files Browse the repository at this point in the history
  • Loading branch information
greggroth committed Apr 20, 2012
1 parent 094af52 commit 4eed5eb
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions app/assets/stylesheets/students.css.less
Expand Up @@ -53,6 +53,7 @@ tr.visible:nth-child(odd){
.filterform {
float: right;
display: inline;
margin-bottom: 0px;

& > label {
margin-right: 15px;
Expand Down
1 change: 0 additions & 1 deletion app/views/professors/index.html.slim
@@ -1,6 +1,5 @@
h1 Faculty
form.filterform.form-search action="#"
= label_tag "filterString", "Filter:"
= text_field_tag "filterString", nil, class: "input-medium search-query"
i.icon-remove.clear-search
= link_to 'New Professor', new_professor_path, class: "hide-from-pdf"
Expand Down
1 change: 0 additions & 1 deletion app/views/students/index.html.slim
@@ -1,6 +1,5 @@
h1 Students
form.filterform.form-search action="#"
= label_tag "filterString", "Filter:"
= text_field_tag "filterString", nil, class: "input-medium search-query"
i.icon-remove.clear-search
= link_to "New Student", new_student_path, class: "hide-from-pdf"
Expand Down

0 comments on commit 4eed5eb

Please sign in to comment.