Sha256: 21f3e6904e943a2e7615970e5063a6501d17b8698368dc5352107824963573dd

Contents?: true

Size: 972 Bytes

Versions: 7

Compression:

Stored size: 972 Bytes

Contents

<h1>All Projects</h1>
<table class="table table-striped">
  <tbody>
    <tr>
      <th>Name</th>
      <th>Description</th>
      <th>Actions</th>
    </tr>
    <% @projects.each do |project| %>
      <tr>
        <td><span class="label label-success"><%= project.name %></span></td>
        <td><%= project.description %></td>
        <td><%= link_to 'Show', project %> | <%= link_to 'Edit', edit_project_path(project) %> | 
        <%= link_to 'Destroy', project, method: :delete, data: { confirm: 'Are you sure?' } %> |
        <%= link_to 'All Apis', project_apis_path(project)%> |
        <%= link_to 'New Api', new_project_api_path(project) %> |
        <% project_name = project.name.gsub(" ", "_")%>
        <%= link_to 'View Api Doc', "/assets/#{project_name}/doc/index.html", :target => "_blank" if File.directory?("app/assets/projects/#{project_name}/")%></td>
      </tr>
    <% end %>
  </tbody>
</table>
<br />
<%= link_to 'New Project', new_project_path %>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
rails_api_doc-0.0.8 app/views/rails_api_doc/projects/index.html.erb
rails_api_doc-0.0.7 app/views/rails_api_doc/projects/index.html.erb
rails_api_doc-0.0.6 app/views/rails_api_doc/projects/index.html.erb
rails_api_doc-0.0.5 app/views/rails_api_doc/projects/index.html.erb
rails_api_doc-0.0.4 app/views/rails_api_doc/projects/index.html.erb
rails_api_doc-0.0.3 app/views/rails_api_doc/projects/index.html.erb
rails_api_doc-0.0.2 app/views/rails_api_doc/projects/index.html.erb