2023-05-03 17:31:17 +08:00
|
|
|
<div class="datetime-picker-container"
|
|
|
|
id="<%= id %>"
|
|
|
|
data-id="<%= id %>"
|
|
|
|
data-use-current="<%= use_current %>">
|
2019-03-06 17:34:04 +08:00
|
|
|
<% if label %>
|
|
|
|
<label class="control-label required" for="calendar-<%= id %>"><%= label %></label>
|
|
|
|
<% end %>
|
2019-11-25 18:09:37 +08:00
|
|
|
<span class="fas fa-calendar-alt"></span>
|
|
|
|
<input type="datetime" class="form-control calendar-input" name="calendar[<%= id %>]" id="calendar-<%= id %>" readonly="" data-ts="" placeholder="<%= placeholder %>" value="<%= defined?(setDate) ? setDate : '' %>"/>
|
2020-03-28 00:35:24 +08:00
|
|
|
|
2023-05-03 17:31:17 +08:00
|
|
|
<%= javascript_include_tag 'global_activities/date_picker', nonce: true %>
|
|
|
|
|
2019-03-06 17:34:04 +08:00
|
|
|
</div>
|