Displaying 1 result from an estimated 1 matches for "save_forum".
2009 Sep 30
2
What is this view syntax? Old beast forum code...
...tasked with resurrecting it, and the first problem i''m seeing
is code like this in the views:
<%= ''{count} topic(s)''[(count=Topic.count)==1 ? :topic_count :
:topics_count, number_with_delimiter(count)] %>,
or
<%= submit_tag ''Save Forum''[:save_forum], :or =>
link_to(''Cancel''[:cancel], forums_path) %>
My first thought was "wtf is that?", and it''s that question that i put
to you, dear readers.
max
--
Posted via http://www.ruby-forum.com/.