Skip to content

Instantly share code, notes, and snippets.

View yakschuss's full-sized avatar

Jack yakschuss

View GitHub Profile
@yakschuss
yakschuss / _form.html.erb
Created April 15, 2016 16:18
Event Creation Form with nested Ticket_Type
<div class="form">
<div class="form-group-columns">
<%= form_for [:admin, @event] do |f| %>
<%= f.text_field :name, placeholder: "Name" %>
<br/>
<br/>
<%= f.text_area :description, placeholder: "Description" %>
<br/>
<%= f.date_select(:date , :start_year => 2016) %>
<br/>