title: How to add datetimepicker to a textbox?
body: <p>I am having a text_field_tag in rails.</p>
  
  <pre><code>&lt;%=text_field_tag 'promocode_expiration','',class: "promoExp form-control",id: "datetimepicker1",size: 10%&gt;
  </code></pre>
  
  <p>On click of this text_field i wish to open a datetimepicker, to add date to the field.</p>
  
  <p>How can i achieve it? Can anyone help please? thank you in advance.</p>