Create Super User
<%= form_for(:user, :url => "/mcms/users_first") do |f| %>
<% if flash[:notice] %>
Following error occured while creating the super user
-
<% flash[:notice].each do |e| %>
- <%= e %> <% end %>
<%= f.label :email %>
<%= f.email_field :email %>
<%= f.email_field :email %>
<%= f.label :first_name %>
<%= f.text_field :first_name %>
<%= f.text_field :first_name %>
<%= f.label :last_name %>
<%= f.text_field :last_name %>
<%= f.text_field :last_name %>
<%= f.label :password %>
<%= f.password_field :password %>
<%= f.password_field :password %>
<%= f.label :password_confirmation %>
<%= f.password_field :password_confirmation %>
<%= f.password_field :password_confirmation %>
<%= f.submit "Save",:class => "button" %>
<%= link_to "Cancel",mcms_users_path,:id => "cancel",:class => "close-dialog button" %>