Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Changeset 4224

Show
Ignore:
Timestamp:
04/18/06 04:32:54 (2 years ago)
Author:
david
Message:

Nothing important

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • applications/molecule/app/views/entries/_new.rhtml

    r4219 r4224  
    1 <% remote_form_for(:entry, :url => { :action => "create" }) do |e| %> 
     1<% remote_form_for(:entry, :url => create_entity_url) do |e| %> 
    22  <p> 
    33    <b>Title:</b><br /> 
     
    1111   
    1212  <%= submit_tag "Create entry" %> or 
    13     <%= link_to_function "Cancel", "Element.toggle('new_entry_form', 'new_entry_link')" %> 
     13  <%= link_to_function "Cancel", "Element.toggle('new_entry_form', 'new_entry_link')" %> 
    1414<% end %> 
  • applications/molecule/app/views/entries/index.rhtml

    r4219 r4224  
    11<div id="new_entry_link"> 
    2   <%= link_to_remote "New entry", :url => { :action => "new" } %> 
     2  <%= link_to_remote "New entry", :url => new_entry_url %> 
    33</div> 
    44