Displaying 3 results from an estimated 3 matches for "_item_list".
Did you mean:
item_list
2006 May 03
2
render partial collection
my view contains a call to a partial:
<%= render(:partial => ''item_list'', :collection => @keyword.synonyms,
:locals => { :action_delete => "removesynonym", and_some_other_stuff
})
%>
_item_list.rhtml contains:
<%= link_to (
image_tag(''/images/deletebutton.png''),
{ :action => action_delete,
:id => @keyword,
item_id => item_list }, %><%= item_list.name %>
Now, how can I pass the ''name'' property from my main view? T...
2006 May 03
0
render partial collection passing property
my view contains a call to a partial:
<%= render(:partial => ''item_list'', :collection => @keyword.synonyms,
:locals => { :action_delete => "removesynonym", and_some_other_stuff
})
%>
_item_list.rhtml contains:
<%= link_to (
image_tag(''/images/deletebutton.png''),
{ :action => action_delete,
:id => @keyword,
item_id => item_list }, %><%= item_list.name %>
Now, how can I pass the ''name'' property from my main view? T...
2007 Nov 16
1
drag & drop list needs refreshing
...ectedItem",
:update => "items", :url => { :action => "add_item_to_selected" },
:accept => "my_item",
:loading => "Element.show(''indicator'')",
:complete => "Element.hide(''indicator'')" %>
#_item_list
<ul id="items1">
<% @item_list.each do |item| %>
<% domid ="#{item.id}" %>
<li class="my_item" id=''<%= domid %>''><%= item.name%></li>
<%= draggable_element domid, :ghosting => true, :revert =>...