Displaying 2 results from an estimated 2 matches for "postamble_presentation".
2006 Mar 15
8
Tags to ruby interface: What I am missing? (repost)
...missed in the shuffle.
I am trying to create, display and edit a referenced object''s text field
on the same view as my root object.
For example:
-------------------------
Quiz: <<quiz.name>>
Preamble: <<quiz.preamble_presentation.text>>
Postamble: <<quiz.postamble_presentation.text>>
[create][cancel]
-------------------------
quiz.preamble_presentation references a Presentation object instance.
The Presentation object contains a property called text, among others.
The generated form will display the ID of the presentation, but I cannot
figure out for the life of...
2006 Mar 14
1
I''m missing something obvious to a taglib programmer ...
...', ''name'' %></p>
<p><label for="quiz_preamble_presentation">Preamble
presentation</label><br/>
<%= text_field ''quiz'', ''preamble_presentation'' %></p>
<p><label for="quiz_postamble_presentation">Postamble
presentation</label><br/>
<%= text_field ''quiz'', ''postamble_presentation'' %></p>
<!--[eoform:quiz]-->
The ddl for the tables is:
create table presentations
(
ID char(36) not null primary key,
text varchar...