[Radiant] Another question - Entering metadata

Bryan haccontact at yahoo.com
Fri Sep 1 00:26:16 CDT 2006


I received the following error when I made the changes suggested.

I am new to Ruby on Rails.  Any ideas what is causing this?

Thanks,

Bryan

Using Radiant 0.5.2

Showing app/views/admin/page/new.rhtml where line #82 raised:

compile error
script/../config/../app/views/admin/page/new.rhtml:82: parse error, 
unexpected tASSOC, expecting ')'
		=> 'width: 100%; height: 5em;' ).to_s); _erbout.concat "</td>\n"
		  ^
Extracted source (around line #82):

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>
85: 		<td><label for="page_description">Description</label></td>
Trace of template inclusion: /app/views/admin/page/new.rhtml

RAILS_ROOT: script/../config/..

Application Trace | Framework Trace | Full Trace
#{RAILS_ROOT}/app/views/admin/page/new.rhtml:176:in `compile_template'
app/controllers/admin/page_controller.rb:30:in `edit'

-- 
Posted via http://www.ruby-forum.com/.



More information about the Radiant mailing list