Displaying 20 results from an estimated 53 matches for "eoform".
2005 Sep 12
1
<!--[form:modelname]--> <!--[eoform:modelname]--> what, if anything does this do?
It looks important and I''m too scared to remove it. The boys on IRC
are saying it doesn''t do anything. Confirm/deny.
2005 Nov 09
3
AJAX form Parameters jumbled.
...<%= observe_field(:phrase,
:frequency => 0.5,
:update => :results,
:url => { :controller => ''admin'', :action
=> :search }) %></td></tr>
</table>
<!--[eoform:search]-->
<%= end_form_tag %>
-----------------------------------
But I''m getting an error stating that the object is nil when it
contains ''jim''. Take a look at the parameters passed. Quite odd?
Shouldn''t it be {"phrase"=>"j...
2006 May 31
7
How do you create a controller & view to create a list of objects?
...ng nil.id_before_type_cast
Extracted source (around line #9):
6:
7: <% 5.times do |i| %>
8: <p><label for="bar_<%= i %>_name"/><br/>
9: <%= text_field ''bar[]'', ''name'' %></p>
10: <% end %>
11:
12: <!--[eoform:foo]-->
Hmmm... so I guess I need a bar array that is initialized with Bar objects?
So I add this to the new method in the FooController:
@bars = []
5.times do |i|
@bars.push Bar.new
end
But then I get this error:
undefined method `id_before_type_cast'' for #<Arr...
2006 Jan 04
3
Legacy Table works-except edit?
Greetings,
I''m trying to put a Rails face on a Legacy Oracle 10 table. I am
currently setting the table_name and primary_key, and I get the list
and show to work fine.
However, when I hit edit I just get the Editing <table name>, Edit
button, Show, and Back. None of the fields are rendered.
Why would I be able to show these fields in the show and list, but not
edit them in the
2006 Jul 19
0
Form helpers produce invalid XHTML code!
..." size="30" type="text" /></p>
<p><label for="artist_about">About</label><br/>
<textarea cols="40" id="artist_about" name="artist[about]"
rows="20"></textarea></p>
<!--[eoform:artist]-->
<input name="commit" type="submit" value="Create" />
</form>
So far, so good. But as soon as an error is shown after submitting the
form it produces this code:
<form action="/en/bookings/create" method="post">...
2006 Jun 19
3
Parent Child form using Partials
...ntact]-->
<p><label for="contact_name">Name</label><br/>
<%= text_field ''contact'', ''name'' %></p>
<%= render :partial => ''addresses/form'', :collection =>
@contact.addresses %>
<!--[eoform:contact]-->
The addresses/_form partial looks like this:
<hr />
<%= error_messages_for ''address'' %>
<!--[form:address]-->
<p><label for="address_line_1">Line 1</label><br/>
<%= text_field ''address'', ...
2006 Apr 25
0
How to manage one to many within application.
...;%= text_field ''address'', ''name'' %> <br>
<label for="customer_address_email">Email</label><br/>
<%= text_field ''address'', ''address'' %> <br>
......
<%end%>
<!--[eoform:address]-->
<!--[form:customer]-->
<label for="customer_company_name">Company name</label><br>
<%= text_field ''customer'', ''name'' %> <br>
<label for="customer_email">Email</label>...
2006 Jun 22
1
acts_as_taggable gem problems
...>Name</label><br/>
<%= text_field ''issues'', ''name'' %></p>
<p><label for="issues_add_tags">Tags</label><br/>
<%= text_field ''tags'', '''' %></p>
<!--[eoform:issues]-->
My params[:tags] *are* getting populated correctly.
--
Craig Beck
http://www.luckybonza.com
AIM: kreiggers
2006 Jul 06
1
Problem implementing password and password confirmation
...password">Password:</label><br />
<%= text_field :password, :size => 40 %><br />
<label for="user_password_confirmation">Confirm Password:</label><br />
<%= text_field :password_confirmation, :size => 40 %><br />
<!--[eoform:user]-->
The error message is:
=====================
User billy was NOT created.
3 errors prohibited this user from being saved
There were problems with the following fields:
* Password confirmation can''t be blank
* Password should be at least 5 characters long
* Passwo...
2006 Mar 01
1
observe_field question
...ar
<%= radio_button("models", "switchtype", "3") %> Blade</p>
<p><b><label for="model_notes">Notes</label></b><br/>
<%= text_area ''model'', ''notes'' %></p>
<!--[eoform:model]-->
What I''m trying to do is monitor the radio button field for a change,
and on a change display another set of entry boxes, but am pretty well
stuck.
Thanks in advance.
--
Posted via http://www.ruby-forum.com/.
2009 Jul 28
0
[PATCH 3/5] Storage views patched for glusterfs drop down as one the Storage Pools
...ot;, 'storage_pool', 'export_path' if @storage_pool[:type] == "NfsStoragePool" %>
+<%= text_field_with_label "Export Path:", 'storage_pool', 'export_path' if @storage_pool[:type] == "GlusterfsStoragePool" %>
+
<!--[eoform:storage_pool]-->
diff --git a/src/app/views/storage/_list.rhtml b/src/app/views/storage/_list.rhtml
index ccb0dbe..32e905a 100644
--- a/src/app/views/storage/_list.rhtml
+++ b/src/app/views/storage/_list.rhtml
@@ -11,6 +11,8 @@
<th>target</th>
<%elsif type == StoragePool::NFS...
2009 Jul 09
0
[PATCH 3/5 ovirt-server] Storage views patched for glusterfs drop down as one the Storage Pools
...ot;, 'storage_pool', 'export_path' if @storage_pool[:type] == "NfsStoragePool" %>
+<%= text_field_with_label "Export Path:", 'storage_pool', 'export_path' if @storage_pool[:type] == "GlusterfsStoragePool" %>
+
<!--[eoform:storage_pool]-->
diff --git a/src/app/views/storage/_list.rhtml b/src/app/views/storage/_list.rhtml
index ccb0dbe..32e905a 100644
--- a/src/app/views/storage/_list.rhtml
+++ b/src/app/views/storage/_list.rhtml
@@ -11,6 +11,8 @@
<th>target</th>
<%elsif type == StoragePool::NFS...
2006 Jan 31
2
How did I end up with read-only access?
I''ve generated the standard scaffolding half a dozen times on play
databases on my own machine, but now I''m trying it for real against the
team''s development database (postgres) and I see to have ended up in
some sort of read-only mode. "list" will show my existing records and
"show" will drill down, as expected, but "New" or
2006 Jan 03
6
Am I going too far or Rails is just confusing? was {validates_presence_of *_id attributes}
...9;customer'', ''address'' %></p>
<p><label for="customer_rank">Rank</label><br />
<%= select ''customer'', ''rank'', Rank.find_all.collect { |r| [
r.description, r.id ] } %></p>
<!--[eoform:customer]-->
2. Let''s try
Go to http://localhost:3000/admin/customers/new
Then just press the "Create" button
Rails responds:
2 errors prohibited this customer from being saved
There were problems with the following fields:
* Name can''t be blank
* Rank ca...
2006 Nov 28
2
Twice the same code, but only once it seems to work
...tate">State</label>
<%= text_field ''company'', ''state'' %></p>
<p><label for="company_country">Country</label>
<%= text_field ''company'', ''country'' %></p>
<!--[eoform:company]-->
The model Company :
-------------------
class Company < ActiveRecord::Base
validates_presence_of :name, :email, :url
validates_uniqueness_of :email, :url
validates_format_of :email,
:with => %r{.@.},
:message => "not a v...
2006 Aug 07
0
select da tabella in _form.rhtml
.../>
<%= text_field ''requirement'', ''nominativo'' %></p>
<p><label for="requirement_oggetto">Oggetto</label><br/>
<%= text_field ''requirement'', ''oggetto'' %></p>
<!--[eoform:requirement]-->
richiamata da
<%= start_form_tag :action => ''create'' %>
<%= render :partial => ''form'' %>
<%= submit_tag "Invia richiesta" %>
<%= end_form_tag %>
<%= link_to ''Indice'', :action =>...
2006 Jul 18
2
A quick question on forms
...;<br/>
<%= text_field ''post'', ''influence_level'' %></p>
<p><label for="post_disclosure">Disclosure</label><br/>
<%= text_area ''post'', ''disclosure'' %></p>
<!--[eoform:post]-->
--
View this message in context: http://www.nabble.com/A-quick-question-on-forms-tf1958604.html#a5372587
Sent from the RubyOnRails Users forum at Nabble.com.
2006 Jun 20
0
No opening form tag in rendered HTML
...t;>Stage</label><br/>
<%= text_field ''post'', ''stage'' %></p>
<p><label for="post_votes">Votes</label><br/>
<%= text_field ''post'', ''votes'' %></p>
<!--[eoform:post]-->
2006 May 07
2
How to handle MySQL data types SET and ENUM in the application
...</label><br/>
<%= text_area ''product'', ''comment'' %></p>
<p><label for="product_image">Image</label><br/>
<%= file_field ''product'', ''image'' %></p>
<!--[eoform:product]-->
--------------------------------------------
Quality is ENUM-type and sizes are the SET-type...
Any ideas how to handle these (or change the DB to something more useful for rails).
|
Thanks
Preben
2006 May 24
0
Problems validating form with collection_select
...#39;'elemento'', ''direccion'' %></p>
<!--<p><label for="elemento_comandancia_id">Id comandancia</label><br/>
<%= text_field ''elemento'', ''comandancia_id'' %></p> -->
<!--[eoform:elemento]-->
Sorry of this post is too long but this is puzzling me.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060524/caec7f00/attachment.html