Sha256: a9e17a9b6d4e327a07e5566aa065fc30fa3a9848437fb068ba8b3d5bf721df56

Contents?: true

Size: 851 Bytes

Versions: 1

Compression:

Stored size: 851 Bytes

Contents

<% if @project.present? && @project.persisted? %>
  <% if project_admin_access? %>
    <dd><%#= link_to fa_icon("pencil-square-o", text: "Edit Project", class: "fa-fw"), edit_project_path(@project) %></dd>
  <% end %>
  <% if project_collaborator_access? %>
    <dd><%#= link_to fa_icon("list", text: "Add DummyApp", class: "fa-fw"), new_project_finish_path(@project) %></dd>
  <% end %>
  <% if project_admin_access? %>
    <dd><%#= link_to fa_icon("bar-chart-o", text: "Add Budget", class: "fa-fw"), new_project_budget_item_path(@project) %></dd>
  <% end %>
  <% if project_member_access? %>
    <dd><%#= link_to fa_icon("users", text: "Add Users", class: "fa-fw"), new_project_member_path(@project) %></dd>
  <% end %>
<% else %>
  <dd><%#= link_to fa_icon("plus-square", text: "Add a Project", class: "fa-fw"), new_project_path %></dd>
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
self_systeem-0.1.0 test/dummy_app/app/views/user/_tabbar_links.html.erb