tap/app/views/application/_form_date_field.html.erb

8 lines
252 B
Text
Raw Normal View History

2014-12-09 14:39:27 +01:00
<div class="form-group">
<%= f.label tag %>:
<div class="input-group">
<span class="input-group-addon"><i class="glyphicon glyphicon-calendar"></i></span>
<%= f.text_field tag, class: 'form-control', id: id, value: value %>
</div>
</div>