forked from fixin.me/fixin.me
16 lines
497 B
Plaintext
16 lines
497 B
Plaintext
<%# TODO: show hint when no quantities/units defined %>
|
|
<div class="rightside-area 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-area">
|
|
<caption class="hint"><%= t '.no_items' %></caption>
|
|
<tbody id="measurements">
|
|
<%= render(@measurements) %>
|
|
</tbody>
|
|
</table>
|