tap/app/views/application/_form_date_field.html.erb
2014-12-09 14:39:27 +01:00

7 lines
252 B
Text

<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>