Sha256: b404b5f4bf6b5c6f87196136ffb4ad6b15c14a677ba57e30b156a1685e56606b
Contents?: true
Size: 1.18 KB
Versions: 22
Compression:
Stored size: 1.18 KB
Contents
<% @page_title = @toolbar_title = h(@user.login) %> <% content_for :toolbar_links do %> <%= link_to(span_tag("List All"), cms_users_path, :id => "list_all_button", :class => "button") if current_user.able_to?(:administrate) %> <%= link_to(span_tag("Change Password"), [:change_password, :cms, @user], :id => "change_password_button", :class => "button") %> <% end %> <% content_for :functions do %> <%= render(:partial => "toolbar") %> <% end %> <% content_for :html_head do %> <%= stylesheet_link_tag('cms/form_layout') %> <% end %> <div class="faux_form"> <div class="fields"> <span class="label">Username</span> <%=h @user.login %> </div> <div class="fields"> <span class="label">Email</span> <%=h @user.email %> </div> <div class="fields"> <span class="label">First name</span> <%=h @user.first_name %> </div> <div class="fields"> <span class="label">Last name</span> <%=h @user.last_name %> </div> <div class="fields"> <span class="label">Groups</span> <ul> <% @user.groups.each do |group| -%> <li><%= group.name %></li> <% end -%> </ul> </div> </div>
Version data entries
22 entries across 22 versions & 6 rubygems