mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-17 06:35:14 +08:00
9 lines
566 B
Text
9 lines
566 B
Text
<%= form_with model: @my_module, url: my_module_path(@my_module, format: :json), data: { remote: :true }, builder: SciFormHelper::SciFormBuilder do |f| %>
|
|
<label class="sci-label">
|
|
<%= t('my_modules.due_date.label') %>
|
|
</label>
|
|
<div id="date-time-picker" class="vue-date-time-picker">
|
|
<input ref="input" type="hidden" v-model="date" name="my_module[due_date]" data-default="<%= @my_module.due_date %>" />
|
|
<date-time-picker class="w-64" @cleared="clearDate" ref="vueDateTime" @change="updateDate" mode="date"></date-time-picker>
|
|
</div>
|
|
<% end %>
|