<%= render "layouts/portlet-config" %> <%= render "layouts/theme-panel" %> <% if flash[:error] %>
× <%= flash[:error] %>
<% end %> <%= render "layouts/breadcrumbs" %> <%= form_tag({:action=>'index'} ,:multipart=>true,:id=>'myForms' ) do %>
<%= render "layouts/short_head_menu" %>
<% end %>
<% i +=1 end else %> <% end %>
SL. NO. User Id Name Mobile Email Image User Type Action
<%=i%> <%=csts.username.to_s%> <%=csts.firstname.to_s.split(/ |\_|\-/).map(&:capitalize).join(" ")%> <%=csts.lastname.to_s.split(/ |\_|\-/).map(&:capitalize).join(" ")%> <%=csts.phonenumber%> <%=csts.email%> <% if csts.userimage!=nil && csts.userimage!='' if File.file?("#{Rails.root}/public/images/users/"+csts.userimage) %> <% else %> <% end %> <% else %> <% end %> <% cusers = '' if csts.usertype!=nil && csts.usertype!='' if csts.usertype=='adm' cusers = 'Admin' elsif csts.usertype=='sadm' cusers = 'Super Admin' elsif csts.usertype=='user' cusers = 'User' elsif csts.usertype=='inq' cusers = 'Super Admin' end %> <%=cusers%> <% end %>
No Records Found
<%= will_paginate(@Users)%>