Class: ODDB::Html::View::Rss::FeedbackTemplate
- Inherits:
-
HtmlGrid::DivTemplate
- Object
- HtmlGrid::DivTemplate
- ODDB::Html::View::Rss::FeedbackTemplate
- Defined in:
- lib/oddb/html/view/rss/feedback.rb
Constant Summary collapse
- COMPONENTS =
{ [0,0] => :feedback, [0,1] => :feedback_feed_link, }
Instance Method Summary collapse
Instance Method Details
#feedback(model) ⇒ Object
16 17 18 |
# File 'lib/oddb/html/view/rss/feedback.rb', line 16 def feedback(model) View::Drugs::FeedbackList.new([model], @session, self) end |
#feedback_feed_link(model) ⇒ Object
19 20 21 22 23 24 |
# File 'lib/oddb/html/view/rss/feedback.rb', line 19 def feedback_feed_link(model) code = model.item.code(:cid) link = HtmlGrid::Link.new(:feedback_feed_link, model, @session, self) link.href = @lookandfeel._event_url(:feedbacks, :cid => code) link end |