mirror of
https://github.com/rickbarrette/stopwatch.git
synced 2026-04-02 09:51:57 -04:00
13 lines
418 B
Plaintext
13 lines
418 B
Plaintext
<h3 class="title"><%= l(:button_log_time) %></h3>
|
|
|
|
<%= labelled_form_for @time_entry, url: stopwatch_timer_path, method: :post, remote: true do |f| %>
|
|
<% @time_entry.hours ||= 0 %>
|
|
<%= render partial: 'timelog/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 %>
|
|
|