1
0
This repository has been archived on 2023-12-07. You can view files and clone it, but cannot push or open issues or pull requests.
cryptogopher 681c0279fb Measurement improvements
Added 'new' action.
Separated js views for new/create/edit.
Displaying taken_at in local time.
Fixed readout destruction on edit.
2019-12-06 21:48:06 +01:00

21 lines
482 B
Plaintext

<% content_for :sidebar do %>
<%= render partial: 'body_trackers/sidebar' %>
<% end %>
<div class="contextual">
<% if User.current.allowed_to?(:manage_common, @project) %>
<%= link_to t(".link_new_measurement"), new_project_measurement_path(@project), {
remote: true,
class: 'icon icon-add'
} %>
<% end %>
</div>
<div id="new-measurement">
</div>
<h2><%= t ".heading" %></h2>
<div id='measurements'>
<%= render partial: 'measurements/index' %>
</div>