<%= l(:button_log_time) %> - <%= format_date User.current.today %>
<% if @entries %>
<%= render partial: 'stopwatch_timers/entries_list', locals: { entries: @entries } %>
<% end %>
<%= labelled_form_for @time_entry, url: stopwatch_timers_path, method: :post, remote: true do |f| %>
<% @time_entry.hours ||= 0 %>
<%= render partial: 'stopwatch_timers/entry_form', locals: { f: f } %>
<%= submit_tag l(:button_create) %>
<%#= submit_tag l(:button_cancel), name: nil, onclick: "hideModal(this);", type: 'button' %>
<% end %>