Fix some block helper deprecation warnings.
This commit is contained in:
parent
32cdb53c26
commit
6417049285
1 changed files with 3 additions and 3 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue