[Radiant] Another question - Entering metadata
Bryan
haccontact at yahoo.com
Mon Sep 4 17:28:03 CDT 2006
jeroen janssen wrote:
> The style part should go in the options hash, so it should probably
> be like this:
>
> <%= text_area "page", "keywords", { :style => "width: 100%; height:
> 5em;'"} %>
I attempted to use the above code. I received the following compile
error. I am I missing something basic with the code syntax?
Thanks,
Bryan
compile error
script/../config/../app/views/admin/page/new.rhtml:81: odd number list
for Hash
script/../config/../app/views/admin/page/new.rhtml:82: parse error,
unexpected tASSOC, expecting '}'
=> 'width: 100%; height: 5em;'}).to_s); _erbout.concat "</td>\n"
^
script/../config/../app/views/admin/page/new.rhtml:82: parse error,
unexpected '}', expecting ')'
=> 'width: 100%; height: 5em;'}).to_s); _erbout.concat "</td>\n"
^
Extracted source (around line #81):
78: </tr>
79: <tr>
80: <td><label for="page_keywords">Keywords</label></td>
81: <td class="field"><%= text_area "page", "keywords", { :style
82: => 'width: 100%; height: 5em;'}%></td>
83: </tr>
84: <tr>
--
Posted via http://www.ruby-forum.com/.
More information about the Radiant
mailing list