scinote-web/app/views/my_modules/_due_date.html.erb
2020-03-16 17:55:35 +01:00

7 lines
342 B
Text

<%= bootstrap_form_for @my_module, url: my_module_path(@my_module, format: :json), remote: :true do |f| %>
<%= f.datetime_picker :due_date,
value: @my_module.due_date,
label: t('my_modules.due_date.label'),
clear: true,
time: true %>
<% end %>