mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-11 17:36:13 +08:00
12 lines
No EOL
825 B
Text
12 lines
No EOL
825 B
Text
<strong><%=t "protocols.steps.comment_title", user: comment.user.full_name, time: l(comment.created_at, format: :time) %></strong>
|
|
<span class="input-group">
|
|
<input type="hidden" class="form-control" id="edit_comment_<%= comment.id %>" value="<%= comment.message %>" onkeydown="if (event.keyCode==13) update_comment(<%= comment.id %>)" >
|
|
<span id="span_comment_<%= comment.id %>" ><%= comment.message %></span>
|
|
<div class="input-group-btn">
|
|
<button class="btn btn-default dropdown-toggle" type="button" data-toggle="dropdown"><span class="caret"></span></button>
|
|
<ul class="dropdown-menu pull-right">
|
|
<li><a href="#" onclick='return comment_edit(<%= comment.id %>)'>Edit</a></li>
|
|
<li><a href="#" onclick='return comment_delete(<%= comment.id %>)'>Delete</a></li>
|
|
</ul>
|
|
</div>
|
|
</span> |