add a fix for settings

This commit is contained in:
Harry Bomrah 2015-07-21 19:21:46 +08:00
parent 10f3ce3d61
commit a4ba57433b
1 changed files with 1 additions and 0 deletions

View File

@ -86,6 +86,7 @@
<!-- Form Actions --> <!-- Form Actions -->
<div class="form-actions"> <div class="form-actions">
<%= f.hidden_field :user_id, :value => params[:user_id] if !params[:user_id].blank? %> <%= f.hidden_field :user_id, :value => params[:user_id] if !params[:user_id].blank? %>
<%= hidden_field_tag :member_profile_id, @member.id.to_s %>
<%= f.submit t('submit'), class: 'btn btn-primary' %> <%= f.submit t('submit'), class: 'btn btn-primary' %>
<%= link_to t('cancel'), get_go_back, :class=>"btn" %> <%= link_to t('cancel'), get_go_back, :class=>"btn" %>
</div> </div>