Displaying 2 results from an estimated 2 matches for "submit_tab".
Did you mean:
submit_tag
2007 Sep 18
2
Setting default value in text_field/password_field
...firstname%></p>
...
<p><label for ="email"%>Email</label><br/>
<%=f.text_field :email %></p>
<p><label for="password"%>Password</label><br/>
<%=f.password_field :password %></p>
...
<p><%= submit_tab ''Sign up'' %></p>
<% end -%>
I would like to produce something of this type for both text_field and
password_field
<input type="text" name = "email" value="something-ejp3exJ1mLY@public.gmane.org"
method="post">
Any ideas...
2008 Dec 16
5
More than one submit_tag in a single form
Hai everyone ,
I have a list of users(each user in a row)and an Approve button for each
user. I wish to change the status of the user to be approved when I
click on the Approve button of a user. When I tried getting all the
users in the params hash. I want to get the id of the user according to
which "Approve" button I clicked. How can I implement this one?
Thanks in advance.
--
Posted