Initial commit
This commit is contained in:
12
app/views/contracts/_notes.html.erb
Normal file
12
app/views/contracts/_notes.html.erb
Normal file
@@ -0,0 +1,12 @@
|
||||
<p class="heading"><strong><u>Notes</u></strong></p>
|
||||
<ul>
|
||||
<% notable.notes.order(created_at: :desc).each do |note| %>
|
||||
<li>
|
||||
<%= note.content %>
|
||||
<br>
|
||||
<%= note.email %>
|
||||
<br>
|
||||
<%= note.created_at.strftime("%D %l:%M %p") %>
|
||||
</li>
|
||||
<% end %>
|
||||
</ul>
|
||||
Reference in New Issue
Block a user