Fix bug.
This commit is contained in:
parent
a5b664ede3
commit
110fa90581
|
@ -167,7 +167,7 @@
|
||||||
<div class="controls">
|
<div class="controls">
|
||||||
<div class="link_append_target">
|
<div class="link_append_target">
|
||||||
<% I18n.with_locale(locale) do %>
|
<% I18n.with_locale(locale) do %>
|
||||||
<% f.object.urls.each_with_index do |url,i| %>
|
<% f.object.urls.to_a.each_with_index do |url,i| %>
|
||||||
<%= render :partial => "form_link", :locals=>{:f=>f,:locale=>locale,:url=>url,:url_text=>f.object.get_url_text(i,true)} %>
|
<%= render :partial => "form_link", :locals=>{:f=>f,:locale=>locale,:url=>url,:url_text=>f.object.get_url_text(i,true)} %>
|
||||||
<% end %>
|
<% end %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
Loading…
Reference in New Issue