app/views/workarea/admin/releases/_publish.html.haml in workarea-admin-3.4.22 vs app/views/workarea/admin/releases/_publish.html.haml in workarea-admin-3.4.23
- old
+ new
@@ -26,6 +26,6 @@
= label_tag 'release[name]', t('workarea.admin.releases.publish.release_name'), class: 'property__name'
= text_field_tag 'release[name]', nil, class: 'text-box text-box--wide', placeholder: t('workarea.admin.releases.publish.which_release_placeholder', year: Time.now.year), required: select_new_release
- if current_user.can_publish_now?
.property
= label_tag 'release[publish_at]', t('workarea.admin.releases.publish.when_does_it_publish'), class: 'property__name'
- = hidden_field_tag 'release[publish_at]', nil, placeholder: t('workarea.admin.releases.publish.when_does_it_publish'), data: { datetimepicker_field: { inline: true } }
+ = hidden_field_tag 'release[publish_at]', nil, placeholder: t('workarea.admin.releases.publish.when_does_it_publish'), data: { datetimepicker_field: { inline: true, uiOptions: { minDate: 0 } }.to_json }