Created
March 3, 2016 16:06
-
-
Save MartinMcDermid/15b16100c0da0ef96d84 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%= simple_form_for(@notification) do |f| %> | |
<%= f.error_notification %> | |
<div class="container"> | |
<div class="col-md-12"> | |
<h1>Create Notification</h1> | |
<div class="form-inputs"> | |
<h5>Message</h5> | |
<%= f.input :body, label: false %> | |
</div> | |
<div class="form-inputs"> | |
<h5>Company</h5> | |
<%= f.association :company, :input_html => {class: 'chosen-select'}, label: false %> | |
</div> | |
<div class="form-inputs"> | |
<h5>Vehicle</h5> | |
<%= f.association :vehicle, :input_html => {class: 'chosen-select'}, label: false %> | |
</div> | |
<div class="form-inputs"> | |
<h5>Recipients</h5> | |
<%= f.association :recipients, :input_html => {class: 'chosen-select', multiple: true }, label: false %> | |
</div> | |
<div class="form-actions"> | |
<%= f.button :submit %> | |
</div> | |
</div> | |
</div> | |
<% end %> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment