Displaying 4 results from an estimated 4 matches for "deletebutton".
2006 May 03
2
render partial collection
...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? This does not
work:
<%= render(:partial => ''item_list''...
2006 May 03
0
render partial collection passing property
...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? This does not
work:
<%= render(:partial => ''item_list''...
2006 Aug 02
0
"RJS Error: TypeError: $(element) has no properties"
...r
am i missing something?
see my code below
# i am rendering forms via partial collection
<%= render :partial => "address/update", :collection =>
@person.addresses %>
# the partial
<div id=''addresslist<%= update.id %>''>
<div id=''deletebutton''>
[<%= link_to_remote ''x'', :url => {:controller => "address", :action =>
"destroy", :id => update.id} %>]
</div>
<%= form_remote_tag( :url => { :controller => "address", :action =>
"update" }...
2009 Apr 03
2
Problem with spacing
...t;
</object>
</object>
<object class="sizeritem">
<option>0</option>
<flag>wxALL</flag>
<border>5</border>
<object class="wxButton" name="deleteButton">
<label>_Delete Contact</label>
<default>0</default>
</object>
</object>
<object class="sizeritem">
<option>0</option>
<flag>wxALL</f...