Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Example of SimpleForm Issue 513
Ruby JavaScript CoffeeScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
app
config
db
lib
log
public
script
test
vendor
.gitignore
.rvmrc
Gemfile
Gemfile.lock
README.md
Rakefile
config.ru

README.md

Simple Form Issue 513

There is a problem between HAML, Rails 3-2-stable, and simple_form. However, it looks like the Rails change for Issue 5191 is the issue and not a simple_form problem.

Hit http://127.0.0.1:3000/notes/new and focus on the Content TextArea, you end up starting on the second row. A 
 is rendered in the TextArea causing the line break.

<div class="input text optional">
  <label class="text optional" for="note_content"> Content</label>
  <textarea class="text optional" cols="40" id="note_content" name="note[content]" rows="20">&#x000A;</textarea>
</div>

The &#x000A; occurs with both form types form_for and simple_form_for

Something went wrong with that request. Please try again.