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

Version Path
webficient-browsercms-3.0.1 app/views/cms/users/show.html.erb
webficient-browsercms-3.0.2 app/views/cms/users/show.html.erb
webficient-browsercms-3.0.3 app/views/cms/users/show.html.erb
webficient-browsercms-3.0.4 app/views/cms/users/show.html.erb
browsercms-3.1.5 app/views/cms/users/show.html.erb
browsercms-3.1.4 app/views/cms/users/show.html.erb
browsercms-3.1.3 app/views/cms/users/show.html.erb
bf4-browsercms-3.1.0 app/views/cms/users/show.html.erb
drujensen-browsercms-3.2.0 app/views/cms/users/show.html.erb
browsercms-3.1.2 app/views/cms/users/show.html.erb
browsercms-3.1.1 app/views/cms/users/show.html.erb
browsercms-3.1.0 app/views/cms/users/show.html.erb
we5-browsercms-3.1.0 app/views/cms/users/show.html.erb
browsercms-3.0.6 app/views/cms/users/show.html.erb
browsercms-3.0.5 app/views/cms/users/show.html.erb
we5-browsercms-3.0.5.1 app/views/cms/users/show.html.erb
we5-browsercms-3.0.5 app/views/cms/users/show.html.erb
browsercms_s3-3.0.5 app/views/cms/users/show.html.erb
browsercms-3.0.4 app/views/cms/users/show.html.erb
browsercms-3.0.3 app/views/cms/users/show.html.erb