Syntax question
Forums > Rails Development > Syntax question
| Author | Message |
|---|---|
|
andrer Member since 03 Jul 12:49 0 posts |
I notice that form_for tags in rhtml files end with “ |
|
andrer Member since 03 Jul 12:49 0 posts |
Oops, not sure what happened in the above post, please ignore the strike through. |
|
andrer Member since 03 Jul 12:49 0 posts |
Hmm, rather ignore the whole thing. Don’t seem to be able to include sciptlet tags in the posts. |
|
railscoder Member since 12 Jul 18:32 0 posts |
i’d like to know that also |
|
andrer Member since 03 Jul 12:49 0 posts |
I compared html source with and without the minus in the form tag, and it looks like excluding the minus forces a line break in the resulting html directly after the form tag. |