Skip to content

Commit

Permalink
renaming 'field' class to 'fields' since it makes a little more sense
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanb committed Aug 5, 2009
1 parent 4e46236 commit 3c22384
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/views/projects/_task.html.erb
@@ -1,4 +1,4 @@
<div class="field">
<div class="fields">
<%= f.label :name, "Task" %>
<%= f.text_field :name %>
<%= remove_child_link "remove", f %>
Expand Down
2 changes: 1 addition & 1 deletion public/javascripts/application.js
Expand Up @@ -13,5 +13,5 @@ function remove_fields(link) {
if (hidden_field) {
hidden_field.value = '1';
}
$(link).up(".field").hide();
$(link).up(".fields").hide();
}
2 changes: 1 addition & 1 deletion public/stylesheets/application.css
Expand Up @@ -84,6 +84,6 @@ body {
list-style: disc;
}

.field {
.fields {
margin: 8px 0;
}

0 comments on commit 3c22384

Please sign in to comment.