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;'"} %> On Sep 1, 2006, at 7:26 AM, Bryan wrote: > 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/. > _______________________________________________ > Radiant mailing list > Radiant@lists.radiantcms.org > http://lists.radiantcms.org/mailman/listinfo/radiant _______________________________________________ Radiant mailing list Radiant@lists.radiantcms.org http://lists.radiantcms.org/mailman/listinfo/radiant