Skip to content

Commit

Permalink
Remove required attribute until we find workaround
Browse files Browse the repository at this point in the history
See issue #207 for desired solution.
Closes #200.
  • Loading branch information
monfresh committed Aug 2, 2014
1 parent 2576e7a commit f7c009c
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 f7c009c

Please sign in to comment.