similar to: end_form_tag

Displaying 20 results from an estimated 120 matches similar to: "end_form_tag"

2006 Jul 14
3
Rails newbie: How does the submit_tag work?
I would appreciate any and all input. The Agile book is not useful in this context. :o( As near as I can tell, it doesn''t work at all. I would expect that clicking on the [Next Question] button in the browser would fire the next_question method in the current controller. Instead, it (apparently) does nothing. The tag in question <%= submit_tag ''Next
2019 Apr 29
0
[nbdkit PATCH 2/3] vddk: Do not report hole extents to be zero with single-link=true
the data in holes is actually not zeros as there might be a parent image having other data. Properly reporting (non-)zero hole extents allows clients to have information about whether the data in the image is unallocated, but the read will return zero blocks (HOLE+ZERO) or whether the data is just not in this later of the image (only HOLE). Signed-off-by: Martin Kletzander
2006 Apr 16
11
RJS templates not found
I am running Rails 1.10 and wanted to check out the RJS templates. Rails doesn''t seem to find them. I did issue the rake comment update_javascripts and that did not correct the problem. RJS is part of 1.1 right? Any ideas? Thanks. -- Posted via http://www.ruby-forum.com/.
2019 Apr 29
5
[nbdkit PATCH 0/3] Fix data integrity in vddk plugin
Couple of fixes to return correct data and one nice-to-have clean-up which is not needed. I just find it nicer to read. Martin Kletzander (3): vddk: Use a separate handle for single-link=true vddk: Do not report hole extents to be zero with single-link=true vddk: Eliminate one needless goto plugins/vddk/vddk.c | 48 +++++++++++++++++++++++++++++++++------------ 1 file changed, 36
2008 Nov 19
0
Helpers in lib
Hi all, I have a query about how to access helper methods in a library. I''m trying to create a custom liquid drop thing which has a form in it (a poll), and I''m unable to get form_for to work with "vote_poll_path". Here''s my code for the custom drop (this is in a file in lib): def render(context) @vote = Vote.new(:poll_id => @poll.id) output =
2007 Jan 28
3
end_form_tag not generating </form>
I put the following code at the end of my index.rhtml: <%= form_tag :action => ''reverse'' %> <%= end_form_tag %> and I get the following code generated: <form method="post" action="/chapter3/reverse"/> </body> ... no </form> tag I''ve checked in ActionView::Helpers::FormTagHelper and the
2008 Aug 21
4
radio_button_tag - examining the selected value
Hi All I have four radio buttons created like this <%= radio_button_tag :answers, 1, false %> a <br/> <%= radio_button_tag :answers, 2, false %> b <br/> <%= radio_button_tag :answers, 3, false %> c <br/> <%= radio_button_tag :answers, 4, false %> d <br/> And then I have a link_to tag to invoke a controller function
2007 Oct 11
3
radio_button_tag
Hello I have a view which have 2 radio buttons : ... <td style="width:5%">Actuel</td> <td style="width:10%"><%= radio_button_tag(:actuel, value = "1", checked = false, options = {}) %> <td style="width:5%">Last</td> <td style="width:10%"><%= radio_button_tag(:last, value = "1", checked =
2006 Jan 27
1
radio_button_tag quirkiness...
...or my ineptitude? I found that the following is always checking the last ''things'' button regardless of the value of query.table: People:<%= radio_button_tag("query", "table", "P") %> Animals:<%= radio_button_tag("query", "table", "A") %> Things:<%= radio_button_tag("query",
2012 Apr 18
2
RoR - Search Forms with Checkboxes, display appropriate results
I have a form that allows me to search a hotel by city or name and by rating through radio buttons. It all works. However, my hotel model has_one :facility, this facility model is composed by several boolean fields (for example, roomservice:boolean restaurant:boolean and so on) The question is, I want to add checkbox fields for each facility I have and in the search form, when the user selects
2010 Jan 23
0
Problems with :onchange for radio_button_tag
Greetings, I''ve been hitting my head to the wall over this for quite a while now and don''t seem to be able to wrap my forementioned head around it. Basically I have a list of users in a selection box and I have two radio buttons: Sort by first name and sort by last name. This is what I have in my view: <%= radio_button_tag ''sort_by_last_name'',
2006 Jun 21
5
newbie - question on radio_buttons
I have a view with a form and i want to be able to process the button selected in a controller - not sure how to do this. The form does not map directly to a model - all I want to do is be able to pass back the selected button and know which one it is. So, i have a form and several radio buttons - the submit (not shown) takes me to the process_answer action where I want to determine which
2006 Mar 24
1
Radio Button Tag and hash @Params.
Hi, I''ve a little problem using the Radio Button Tag. I use the " @prove=MODEL.column_names() " to keep attribute names of a table. After i used this code to select a attribute subsets of them : <% i=''0''%> <% for @obj in @prove %> <% @key='':key''+i%> <%= radio_button_tag (@key,@obj) %> <%
2006 Jun 28
3
observe_field and radio button... does not work?
I try to catch click event on radio button, but nothing is executed.... Tested with RoR 1.1.2 and 1.1.3. What am I doing wrong? <%= radio_button_tag(:city, ''Dublin'') %> <%= observe_field(:citi, :frequency => 0.5, :on => ''click'', :with => "''city='' +
2008 May 11
3
radio_button_tag and default checked option
Hi, I can''t get my radio button to be checked by default, here is what I have: <%= f.radio_button :gender, "male", :checked => ''true'' %><p>Male</p> <%= f.radio_button :gender, "female" %><p>Female</p> -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received
2007 Feb 03
7
Interesting radio button behavior with "onclick"
Hello: I have radio buttons like this: <% fields_for :goalhist do |g| %> <table> <tr> <td align=left><%= radio_button_tag (''duedate'', 0, checked = false, options = {:onclick => ""}) %> &nbsp;&nbsp;Start now </td> </tr> <tr id="detailed" style="display: none"><td colspan=2>
2008 Apr 09
3
form_tag and form_for cause #protect_from_forgery errors
Hey All, I''m trying to do a simple form_for (and I also get it with form_tag) and I''m getting the following error: ActionView::TemplateError (No :secret given to the #protect_from_forgery call. Set that or use a session store capable of generating its own keys (Cookie Session Store).) on line #2 of users/new.fbml.erb: 1: <h1>Welcome To Courses, Let''s Get
2019 Mar 28
32
[PATCH nbdkit v5 FINAL 00/19] Implement extents.
This has already been pushed upstream. I am simply posting these here so we have a reference in the mailing list in case we find bugs later (as I'm sure we will - it's a complex patch series). Great thanks to Eric Blake for tireless review on this one. It also seems to have identified a few minor bugs in qemu along the way. Rich.
2009 Feb 26
8
beginners question
hi group, I am making a little rails app to experiment with rails. It consists of one model, item, that represents an item on a todo list. A todo item has a description, a state (finished or not) and a due date. After changing the scaffold screens a bit, I wanted to be able to have no due date. I tried to do this by making a radio button; if ''no date'' is selected, the date
2008 May 16
3
radio button observe field only triggers once
Hi, If i add field observers to radio button fields they trigger once but then nothing after that. I have multiple fields in a form that i need to know if one of them changes and which spedific field. Below is an example of two foelds i tested and they trigger once with the alert but then nothing after that. I also tried individual observers for each field test_yes and test_no but with the same