Fix some block helper deprecation warnings.

This commit is contained in:
Roland 2011-07-18 21:09:16 +02:00
parent 32cdb53c26
commit 6417049285

View file

@ -1,4 +1,4 @@
<% form_for @contact, :html => {:class => "new_data_form"} do |f| %>
<%= form_for @contact, :html => {:class => "new_data_form"} do |f| %>
<fieldset>
<legend>Contact details</legend>
<table>
@ -45,7 +45,7 @@
</tr>
<% end %> <%# fields_for :adress %>
<% f.fields_for :emails do |emails_f| %>
<%= f.fields_for :emails do |emails_f| %>
<%= render "email_fields", :f => emails_f %>
<% end %> <%# fields_for :emails %>
<tr>
@ -54,7 +54,7 @@
<%= link_to 'Add an email', '#emails', :class => "add_nested_item", :rel => "emails" %>
</td>
</tr>
<% f.fields_for :phones do |phones_f| %>
<%= f.fields_for :phones do |phones_f| %>
<%= render "phone_fields", :f => phones_f %>
<% end %> <%# fields_for :phones %>
<tr>