How can I display in rails "only" hours and seconds using simple_form_for?
<p>I am quite new in rails but I could not find an answer for this. </p>

<p>I have the column <code>start</code> defined as <code>datetime</code> type. However, when displaying the form in the view, I want only to see the hours and seconds (and hide the year, month and day) fields. </p>

<pre><code>&lt;%= simple_form_for @availability do |f| %&gt;
   &lt;%= f.input :start %&gt;
   &lt;%= f.button :submit, class: "btn btn-primary wide-btn" %&gt;
&lt;% end %&gt;
</code></pre>

<p>How can I do this? </p>