Sha256: 429e89889f73446b4d3395d71d3b45e3eb06cab60550eca3a33ad193c2ed2e57
Contents?: true
Size: 1.8 KB
Versions: 3
Compression:
Stored size: 1.8 KB
Contents
<p id="notice"><%= notice %></p> <h1>Banal Brainstorms</h1> <table class="table"> <thead> <tr> <th>Idea</th> <th>Main category</th> <th>Priority</th> <th>Status</th> <th>Comments</th> <th>Idea owner</th> <th colspan="3"></th> </tr> </thead> <tbody> <% @banal_brainstorms.each do |banal_brainstorm| %> <tr id="banal-brainstorming-idea-<%= banal_brainstorm.id %>"> <td><%= banal_brainstorm.idea %></td> <td><%= banal_brainstorm.main_category %></td> <td><%= banal_brainstorm.priority %></td> <td><%= banal_brainstorm.status %></td> <td><%= banal_brainstorm.comments %></td> <td><%= banal_brainstorm.idea_owner %></td> <td><%= link_to 'Make project', make_project_banal_brainstorm_path(banal_brainstorm), method: 'PUT', class: 'btn btn-primary' %></td> <td><%= link_to 'Kill Idea', banal_brainstorm, method: :delete, data: { confirm: 'Are you sure?' }, class: 'btn btn-danger' %></td> </tr> <tr> <td colspan="8"> <% #if banal_brainstorm.comments.none? %> <%= form_for Comment.new(banal_brainstorm_id: banal_brainstorm.id) do |f| %> <%= f.text_field :comment_text %> <%= f.hidden_field :banal_brainstorm_id %> <%= f.submit %> <% end %> <% #end %> <br /> <%= render 'comments', comments: banal_brainstorm.comments %> </td> </tr> <% end %> </tbody> </table> <br> <%= link_to 'New Banal Brainstorm', new_banal_brainstorm_path, class: 'btn btn-primary' %> <% if params[:only_killed] %> <%= link_to "New ideas", banal_brainstorms_path, class: 'btn btn-primary' %> <% else %> <%= link_to "Killed ideas", banal_brainstorms_path(only_killed: true) %> <% end %>
Version data entries
3 entries across 3 versions & 2 rubygems
Version | Path |
---|---|
jester-data-8.0.0 | app/views/banal/brainstorms/index.html.erb |
ezii-os-5.2.1 | app/views/banal/brainstorms/index.html.erb |
ezii-os-2.0.1 | app/views/banal/brainstorms/index.html.erb |