Displaying 2 results from an estimated 2 matches for "aggiungi".
Did you mean:
aggiungo
2008 Oct 31
6
link_to submit form value 2
...t;</td><td><%=
date_select ''study'', ''conseguito'', {:include_blank =>
true}%></td><td><%= text_field ''study'', ''voto''%></td></tr>
</table>
</div>
<%=link_to "Aggiungi", { :controller => "studies", :action=> "create",
:id_nominee => @nominee.id, :study => @study}, :submit => ''study'', :html
=> { :method => :post} %>
where in submit value of Link_to i''ve specified the div id.
When i click...
2008 Apr 14
2
Problems with nil object
...Testo: <br /><%= post.testo %></p>
<span><%= link_to ''Commenti('' + post.comments.size.to_s + '')'',
:action => ''show_comment'', :id => post %></span>
<span><%= link_to ''Aggiungi un commento'', :action =>
''add_comment'', :id => post %></span>
<div id="comments">
<% for com in @comments %>
<% if com.post_id == post.id %>
<p class="<%=
cycle(&...