Displaying 3 results from an estimated 3 matches for "second_line".
2010 Jun 18
2
[PATCH] hdt & gcc -Werror
...30 100644
--- a/com32/hdt/hdt-cli-pci.c
+++ b/com32/hdt/hdt-cli-pci.c
@@ -206,8 +206,8 @@ static void show_pci_devices(int argc __unused,
char **argv __unused,
pci_device->product,
pci_device->sub_vendor, pci_device->sub_product);
- more_printf(first_line);
- more_printf(second_line);
+ more_printf("%s", first_line);
+ more_printf("%s", second_line);
more_printf("\n");
} else if (nopciids == true) {
if (nomodulesfile == true) {
diff --git a/com32/hdt/hdt-cli-pxe.c b/com32/hdt/hdt-cli-pxe.c
index 3a61bc0..29e760a 100644
--- a/...
2009 Mar 01
15
Ajax in Rails
...dered?
Here is my form:
<% form_remote_for @advert do |a| %>
<label>Title:</label> <%= a.text_field :title %>
<br />
<label>First Line:</label> <%= a.text_field :first_line %>
<br />
<label>Second Line:</label> <%= a.text_field :second_line %>
<br />
<label>Visible URL:</label> <%= a.text_field :visible_url %>
<br />
<label>Destination URL:</label> <%= a.text_field :destination_url %>
<%= submit_tag ''Submit'' %>
<% end %>
Any help would be great?
Cheers,...
2006 Jul 11
0
text_field_with_auto_complete problem
...#39;'auto_complete_for_team_name''
end
and in the partial (_auto_complete_for_team_name.rhtml), I have:
<ul>
<% for team in @teams do -%>
<li>
<div class="first_line"><%=h team.name.camelcase -%></div>
<div class="second_line"><%=h team.city.name.camelcase -%> -
<%=h team.city.country.name.camelcase -%>
</li>
<% end -%>
</ul>
and it all works with the exception that when I select on of the items
from the ajax generated dropdown, the value that gets inserted in the
the text fi...