initial commit

This commit is contained in:
Jens Kraemer
2020-04-22 18:03:56 +08:00
commit 70257cdee0
16 changed files with 331 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
<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 %>