Skip to content

Commit

Permalink
Merge pull request #208 from codeforamerica/200-remove-required-attri…
Browse files Browse the repository at this point in the history
…bute

Remove required attribute until we find workaround
  • Loading branch information
monfresh committed Aug 2, 2014
2 parents 2576e7a + f7c009c commit 1038bfc
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion app/views/admin/locations/forms/_description.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
%span.desc
A description of the location's services.
%p
= f.text_area :description, required: true, class: 'span9', rows: 10
= f.text_area :description, required: false, class: 'span9', rows: 10
2 changes: 1 addition & 1 deletion app/views/admin/locations/forms/_location_name.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
%span.desc
The name of the organization at a location, such as a branch, department, or similar.
%p
= f.text_field :name, required: true, maxlength: 255, class: 'span10'
= f.text_field :name, required: false, maxlength: 255, class: 'span10'
2 changes: 1 addition & 1 deletion app/views/admin/organizations/forms/_name.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
%header
= f.label :name, 'Organization Name'
%p
= f.text_field :name, required: true, maxlength: 255, class: 'span10'
= f.text_field :name, required: false, maxlength: 255, class: 'span10'
2 changes: 1 addition & 1 deletion app/views/admin/services/forms/_description.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
%span.desc
A description of the service.
%p
= f.text_area :description, required: true, class: 'span9', rows: 5
= f.text_area :description, required: false, class: 'span9', rows: 5
2 changes: 1 addition & 1 deletion app/views/admin/services/forms/_name.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
%span.desc
The name of the service.
%p
= f.text_field :name, required: true, maxlength: 255, class: 'span10'
= f.text_field :name, required: false, maxlength: 255, class: 'span10'

0 comments on commit 1038bfc

Please sign in to comment.