Displaying 1 result from an estimated 1 matches for "div_form".
Did you mean:
div_for
2006 May 11
1
RoR completely ignoring a column when saving changes
...request
@user = User.find(params[:id])
@profile = @user.profile
verify_id(@user.id, true)
end
end
[/CODE]
here is the view code:
[CODE]
<%= error_messages_for ''user'' %>
<%= error_messages_for ''profile'' %>
<div class="div_form">
<% if session[:admin] == ''yes'' -%>
<h2>Login Details</h2>
<p><label for="user_admin">Administrator Access</label>
<%= select ''user'', ''admin'', [ [''no'', ''n...