scinote-web/app/views/global_activities/_date_picker.html.erb

15 lines
660 B
Text
Raw Normal View History

<div class="datetime-picker-container"
id="<%= id %>"
data-id="<%= id %>"
data-use-current="<%= use_current %>"
data-datetime-picker-format="<%= datetime_picker_format_date_only %>">
<% if label %>
<label class="control-label required" for="calendar-<%= id %>"><%= label %></label>
<% end %>
2023-06-08 14:33:37 +08:00
<span class="sn-icon sn-icon-calendar"></span>
2019-11-25 18:09:37 +08:00
<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
<%= javascript_include_tag 'global_activities/date_picker' %>
</div>