Sha256: 1ceb7f2fd7e37a3bcc1ce5c99e99deea7ad7366bd5a922520bf9cbc3ec5204c4
Contents?: true
Size: 1.69 KB
Versions: 26
Compression:
Stored size: 1.69 KB
Contents
<div class="container"> <h1 class="pagetitle"><%= @metric.title %></h1> <table class="table table-striped table-bordered"> <tr> <td>Description:</td> <td><%= @metric.description %></td> </tr> <tr> <td>Status:</td> <td><%= @metric.status %></td> </tr> <tr> <td>Explanation:</td> <td><%= @metric.explanation %></td> </tr> <tr> <td>Has Detail View:</td> <td><%= @metric.has_detail %></td> </tr> <tr> <td valign="top">Explanation:</td> <td><%= @metric.explanation %></td> </tr> <tr> <td valign="top">Technical Explanation:</td> <td><%= @metric.technical_explanation %></td> </tr> </table> <div class="metric-notes-container"> <h2>Notes:</h2> <hr /> <div class="row"> <div class="note-entry-form well span4 pull-right" style="float:right;"> <h3>Create a Note</h3> <hr /> <% form_for ["new_metric_notes", @metricnote], :url => { :controller =>'metric_notes' } do |f| %> <%= f.hidden_field :user_id, :value => current_user.id %> <%= f.hidden_field :metric_id, :value => @metric.id %> <p><%= f.label :title %> <%= f.text_field :title %></p> <p><%= f.label :content %> <%= f.text_field :content %></p> <p><%= f.submit "Create" %></p> <% end %> </div> <div class="metric-notes-list span7" style="float:left;"> <% if @metric.metric_notes.any? %> <% @metric.metric_notes.reverse.each do |note| %> <div class="well"> <span class="pull-right"><%= note.created_at.strftime("%m/%d/%Y at %I:%M%p") %></span> <strong><%= note.title %></strong><br /> <%= note.content %> </div> <% end %> <% else %> <h2>No notes for this metric</h2> <% end %> </div> </div> </div> </div>
Version data entries
26 entries across 26 versions & 1 rubygems