forked from saurabh/orbit4-5
fix model name and user form
This commit is contained in:
parent
b64385771a
commit
53ab9e4e9c
|
@ -68,7 +68,7 @@
|
|||
<% @site_in_use_locales.each_with_index do |locale, i| %>
|
||||
<div class="tab-pane fade <%= ( i == 0 ) ? "active in" : '' %>" id="last_name_<%= locale %>">
|
||||
<%= f.fields_for :last_name_translations do |f| %>
|
||||
<%= f.text_field locale, :value => (@member_profile.member_profile.last_name_translations[locale] rescue nil), :placeholder=>"#{t("users.last_name")}" %>
|
||||
<%= f.text_field locale, :value => (@member_profile.last_name_translations[locale] rescue nil), :placeholder=>"#{t("users.last_name")}" %>
|
||||
<% end %>
|
||||
</div>
|
||||
<% end %>
|
||||
|
|
Loading…
Reference in New Issue