mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-18 07:01:58 +08:00
7 lines
390 B
Text
7 lines
390 B
Text
<%= form_with model: @my_module, url: my_module_path(@my_module, format: :json), data: { remote: :true }, builder: SciFormHelper::SciFormBuilder do |f| %>
|
|
<%= f.datetime_picker :due_date,
|
|
value: @my_module.due_date,
|
|
label: t('my_modules.due_date.label'),
|
|
clear: true,
|
|
time: true %>
|
|
<% end %>
|