justinfrench/formtastic — Issue #815: Required marker (*) is printed multiple times upon form reload.
Author: jan0sch
Created: 2012-03-01 09:44:49+00:00
State: open

Hi,

I just created a new rails app (3.2.1) and are using formtastic 2.10 (for the first time. before I was using 2.0.x).
My forms are rendered correctly so far but if I hit the reload button in the browser or submit the form with errors the required markers in the required fields are printed more than once. In fact they increase upon every reload.

I have to logout, restart my rails app and log back in to get rid of them.

Example Form:
```
Title* : input
```
Hit Reload
```
Title** : input
```
Submit form without title
```
Title*** : input
```
Switch to another page and click upon "new foo" which brings up the new form
```
Title*** : input
```

Any ideas?