Skip to content

Commit

Permalink
Bump the limits to 1000 temprorarily
Browse files Browse the repository at this point in the history
  • Loading branch information
evanphx committed May 12, 2016
1 parent 2d7f87f commit 3b1148c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/decorators/proposal_decorator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def speaker_input(form)

def abstract_input(form)
form.input :abstract, placeholder: 'What is your talk about?',
maxlength: 605, input_html: { class: 'watched js-maxlength-alert', rows: 5 },
maxlength: 1000, input_html: { class: 'watched js-maxlength-alert', rows: 5 },
hint: 'Provide a concise description for the program limited to 600 characters or less.'
end

Expand Down
2 changes: 1 addition & 1 deletion app/models/proposal.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class Proposal < ActiveRecord::Base
# This used to be 600, but it's so confusing for users that the browser
# uses \r\n for newlines and they're over the 600 limit because of
# bytes they can't see. So we give them a bit of tolerance.
validates :abstract, length: {maximum: 625}
validates :abstract, length: {maximum: 1000}
validates :title, length: {maximum: 60}

serialize :last_change
Expand Down

0 comments on commit 3b1148c

Please sign in to comment.