Displaying 20 results from an estimated 10000 matches similar to: "Strange form_tag behaviour"
2006 Apr 08
2
Add id to form_tag?
Hi all,
What is the correct syntax to add an id attribute to a form tag with the
"form_tag" helper?
I''ve tried
start_form_tag({:controller => ''houses'', :action => ''find''}, {:method =>
:get, :id => ''search''})
start_form_tag({:controller => ''houses'', :action =>
2009 Sep 19
4
Processing strings
Hi,
I am unable to do something fairly simple. I have matrices called
Table1,..., Table10. I want to be able to print them using a loop. So
I wrote:
##################
for (i in 1:10){
disp<-paste("Table", i, sep="")
eval(parse(text=disp))
}
##################
but this produces no output. Any ideas?
2010 Jan 22
0
dynamic select menu doesn't work for 'form_tag'
Hi everyone,
I have tried with the dynamic menu using
"http://railscasts.com/episodes/88-dynamic-select-menus " site.
i implemented and it was working fine for ''form_for'' tag.
But i need to do the same function with ''form_tag'' as like as,
<% javascript ''dynamic_states'' %>
<%form_tag do%>
<p>
<label
2011 May 05
1
Array params in form_tag
Hello i have a lot of time trying to figure this out.
I am having problem sending array params with form_tag :remote=>true
form.erb
<%#= form_tag reporte_client_reports_path do%>
<%= form_tag reporte_client_reports_path,:remote=>true do%>
<p>
<%= label_tag :cuts %>
<%= select_tag "cuts[]", options_from_collection_for_select(@cuts,
2008 Feb 04
2
attachment_fu and form_tag for multiple models?
hi, i''ve got a page where i''m trying to save the user''s profile
information and an image of the user, but i''m having trouble with using
attachment_fu and the form_tag method.
now i know attachment_fu isn''t designed for form_tag but am really
hoping someone has a solution for this as frankly i''m stumped.
here''s the form_tag part in
2003 Oct 02
3
SIP and DSL Bandwidth queries.
Here is my setup
7960(A)--Firewall/PAT--dsl---------Internet--------dsl--Firewall/NAT---7960(B)
| |
| |
7960(C)--NAT--cable----------------- -----dsl -- Asterisk
(A) can communicate with (C) only when C is configured with canreinvite=no. The
call gets dropped in few seconds if canreinvite is set to yes for C.
2006 Feb 17
2
form_tag with protocol => ''https'' help
Hi,
I am not having much luck using the form_tag with a protocol. I try
the following in my view: index.rhtml
<%= form_tag({:controller => ''home'',:action => ''login'',:protocol =>
''https''},{:method => ''post''}) %>
hoping it would generate
<form action=''https://myhost.com/home/login''
2009 Sep 17
2
Can i use "form_remote_tag" inside the "form_tag"?
Hi all,
How can i use form_remote_tag inside the form_tag helper .
My application has following view subscribe.html.haml
- form_tag :action => :subscribe do
/other form element
%input{:type=>''radio'', :name=>''tariff_plan_id'', :value=>"monthly"}
%input{:type=>''radio'',
2010 Oct 25
2
form_tag with remote=>true Error during failsafe response:
I am trying to find out why form_tag with remote => true is not
sending an ajax response and only sending HTML. I have started a basic
Rails App with two pages and am following the Railscast 205 UJS
example. Every time I include:-
<%= form_tag homepages_path, :method => ''get'', remote => true do %>
I get from the server(WEBrick):- (Ruby 1.9.2 and Rails 3)
A 500
2010 Oct 20
2
form_tag not working correctly?
So I''m trying to make
<form action=''/path'' method=''get'' class=''ajax_box''>
using:
<% form_tag :action => "search_for", {:method => :get, :class =>
''ajax_box''} do %>
but I get:
<form action=''/path?method=get&class=''ajax_box''
2007 Mar 08
1
https://bugzilla.samba.org/show_bug.cgi?id=765
I don't mean to ruffle any feathers, but has this been properly resolved?
It shows that a patch has been submitted to allow connections over
TLS, and that the bug has been closed, but the solution supplied
doesn't actually address the problem - running Samba in ads mode in a
domain with ldap signing.
We do not have the ability to change that setting in the policy.
Thank you,
Scott
2019 May 05
1
Porting R example datasets to GNU Octave
Hi, R Developers,
I'm interested in porting the R example datasets package to GNU Octave
and Matlab. Would you have objections to my doing so?
This would involve transforming the example data and metadata into a
format that Octave understands, and porting all of the datasets' Example
code pieces to Octave M-code. (This would require no work on your part;
it'd be my project.)
I think
2009 Mar 05
1
error_messages with form_tag
Hi
Am facing a problem in accessing the error_messages.
Actually am using form_tag is there any way with which i can access
error_messages with form_tag.
I don''t want to use form_for.
Thanks in Advancve
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
2007 Feb 13
1
form_tag only useful for pages with a single form?
Howdy, I''m new to rails and I''m learning form Agile Web Dev with Rails.
It seems all of the examples that use form_tag use it in situations
where the action first creates a new object before doing a
request.post...
If I''m in a situation where I''m managing Roles, Rights, and assignments
of rights to roles, I may want to have one little form with a text field
and
2009 Mar 09
2
form_tag error: only get requests allowed
I am getting above error while updating an item using form_tag helper.
<h1>Edit Topic Item</h1>
<% form_tag edit_topic_item_path(@item.topic, @item), :html => { :method
=> :put} do %>
<%= render :partial => ''item_form'', :object => @item %>
<%= submit_tag ''Save'' %>
<% end %>
<%= link_to ''Add
2011 Jul 01
0
trouble with rails-ckeditor gem "form_tag"
Hi All,
I am trying to use the rails-ckeditor gem and running into some problems.
It is working fine for FORM_FOR but when implimenting on FORM_TAG, it
giving errot "undefined method `ckeditor_textarea_tag'' for
#<#<Class:0x9180348>:0x917e848>".
My view field is <%= ckeditor_textarea_tag :msg, :toolbar=>''Full'',
:width =>
2011 Mar 08
1
form_tag for search bar with Rails 3.0.5
I have a controller and view that should be providing a search bar
that brings up that brings up a selected record on submission. I have
tried several variations, including just specifying the assets_path,
but usually end up with either an error or a submission to the index
action, rather than the show action. Currently, I have the following
in my index.html.haml:
= form_tag({:controller =>
2006 Mar 21
4
Using onSubmit tag in form_tag?
Hi guys,
I have been working on a form that would use javascript to validate the
data before submitting it, and from my view.rhtml I have a statement
like this:
However such a statement generates a HTML tag that looks like this:
<form action="/users/Login?onSubmit=validate%28%29" method="post">
Seems like Rails thinks it is a parameter instead of an option, so
2009 Sep 26
3
Adding variables
Hi,
For very large matrices, is this the most efficient way to add two
variables together?
#############################
attach(attenu)
new<-rowSums(cbind(mag, station))
#############################
Also, could I be directed to some resources for working with very
large datasets?
Thanks
2008 Oct 15
2
Adding an id to form_tag
Hi all,
When using form_for it is easy to add an id to the form using :html =>
{:id => ''someid''}
However, how would one accomplish the same when using the form_tag ?
Thank you in advance,
Schalk
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post