Changeset 4224
- Timestamp:
- 04/18/06 04:32:54 (2 years ago)
- Files:
-
- applications/molecule/app/views/entries/_new.rhtml (modified) (2 diffs)
- applications/molecule/app/views/entries/index.rhtml (modified) (1 diff)
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| %> 2 2 <p> 3 3 <b>Title:</b><br /> … … 11 11 12 12 <%= 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')" %> 14 14 <% end %> applications/molecule/app/views/entries/index.rhtml
r4219 r4224 1 1 <div id="new_entry_link"> 2 <%= link_to_remote "New entry", :url => { :action => "new" }%>2 <%= link_to_remote "New entry", :url => new_entry_url %> 3 3 </div> 4 4