ist mir schon aufgefallen aber leider ist es das auch nicht ;-(

 

view :

 

<% form_for :book do |f| %>

<p>

<label> :source </label><br>

<%=f.text_field :source %>

</p>

<p>

<label>:depth </label><br>

<%= f.text_field :depth %>

</p>

<p>

<label>:destination </label><br>

<%= f.text_field :destination %>

</p>

<p>

<label>:dest_space </label><br>

<%= f.text_field :dest_space %>

</p>

<p>

<label>:parentId </label><br><br>

<%= f.text_field :parentId %>

</p>

<p>

<%= f.submit_tag "Create" %>

</p>

 

<% end %>

<%= @source %>

 

 

 

ich versteh nicht woran das liegen könnte??? das macht mich total wahnsinnig ;-(





From: ro...@sladeczek.de
To: rubyonrails...@heist madflash.com
Date: Mon, 12 Oct 2009 22:23:54 +0200
Subject: Re: [Rubyonrails-ug] controller problem !

am <%= submit_tag "Create" %> muss das f auch hin.



<%= f.submit_tag "Create" %>





Am 12.10.2009 um 22:17 schrieb player man:
<%= submit_tag "Create" %>
                                          
_________________________________________________________________
Windows Live: Make it easier for your friends to see what you’re up to on 
Facebook.
http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_2:092009
_______________________________________________
rubyonrails-ug mailing list
rubyonrails-ug@headflash.com
http://mailman.headflash.com/listinfo/rubyonrails-ug

Antwort per Email an