Sha256: a703de4735f365b81dcce512994b68d7a8e8bd03bda3fbb5f3422d75d7cf9bba

Contents?: true

Size: 442 Bytes

Versions: 9

Compression:

Stored size: 442 Bytes

Contents

<%= content_tag_for :div, account do -%>
  <div class="account-header">
    <h2>Account: <strong><%= account.name %></strong></h2>
    <% if current_user.admin_of?(account) -%>
      <%= link_to 'Settings', edit_account_path(account), :class => 'project-settings' %>
    <% end -%>
  </div>

  <%= render 'accounts/projects',
             :projects => account.projects_visible_to(current_user),
             :account  => account%>
<% end -%>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
saucy-0.1.9 app/views/accounts/_account.html.erb
saucy-0.1.8 app/views/accounts/_account.html.erb
saucy-0.1.7 app/views/accounts/_account.html.erb
saucy-0.1.6 app/views/accounts/_account.html.erb
saucy-0.1.5 app/views/accounts/_account.html.erb
saucy-0.1.4 app/views/accounts/_account.html.erb
saucy-0.1.3 app/views/accounts/_account.html.erb
saucy-0.1.2 app/views/accounts/_account.html.erb
saucy-0.1.1 app/views/accounts/_account.html.erb