forked from fixin.me/fixin.me
15 lines
451 B
Plaintext
15 lines
451 B
Plaintext
<%# TODO: show hint when no quantities/units defined %>
|
|
<div class="rightside buttongrid">
|
|
<% if current_user.at_least(:active) %>
|
|
<%= image_link_to t('.new_measurement'), 'plus-outline', new_measurement_path,
|
|
id: :new_measurement_link, onclick: 'this.blur();',
|
|
data: {turbo_stream: true} %>
|
|
<% end %>
|
|
</div>
|
|
|
|
<table class="main">
|
|
<tbody id="measurements">
|
|
<%= render(@measurements) || render_no_items %>
|
|
</tbody>
|
|
</table>
|