mirror of
https://github.com/rickbarrette/stopwatch.git
synced 2026-04-02 17:51:59 -04:00
15 lines
528 B
Plaintext
15 lines
528 B
Plaintext
<h3 class="title"><%= l(:button_log_time) %> - <%= format_date User.current.today %></h3>
|
|
|
|
<%= render partial: 'entries_list', locals: { entries: @entries } %>
|
|
|
|
<%= labelled_form_for @time_entry, url: stopwatch_timers_path, method: :post, remote: true do |f| %>
|
|
<% @time_entry.hours ||= 0 %>
|
|
<%= render partial: 'entry_form', locals: { f: f } %>
|
|
|
|
<p class="buttons">
|
|
<%= submit_tag l(:button_create) %>
|
|
<%#= submit_tag l(:button_cancel), name: nil, onclick: "hideModal(this);", type: 'button' %>
|
|
</p>
|
|
<% end %>
|
|
|