Sha256: c05fac08ea127205f072e8882a4347f408e5f7674a77476bf7732e3f3d4ef1e5
Contents?: true
Size: 625 Bytes
Versions: 6
Compression:
Stored size: 625 Bytes
Contents
<%= simple_form_for(@event) do |f| %> <% if @event.errors.any? %> <div id="error_explanation"> <h2><%= pluralize(@event.errors.count, "error") %> prohibited this event from being saved:</h2> <ul> <% @event.errors.full_messages.each do |message| %> <li><%= message %></li> <% end %> </ul> </div> <% end %> <div class="field form-group"> <%= f.input :date %> </div> <div class="field form-group"> <%= f.input :datetime %> </div> <div class="field form-group"> <%= f.input :time %> </div> <div class="actions"> <%= f.submit %> </div> <% end %>
Version data entries
6 entries across 6 versions & 1 rubygems