Sha256: 928a1862380ecce4e66070d36ec84a27cf4e9133145e9ef4c336d05504340188
Contents?: true
Size: 1.71 KB
Versions: 24
Compression:
Stored size: 1.71 KB
Contents
<%= form_for(@event, :url => (@event.new_record? ? dhatu.events_path : dhatu.event_path), :method => (@event.new_record? ? :post : :put), :remote => true, :html => {:id=>"form_event", :class=>"mb-0 form-horizontal"}) do |f| %> <div id="event_form_error"> <%= @event.errors[:base].to_sentence %> </div> <div class="form-inputs m-15"> <%= theme_form_field(@event, :title, form_style: "top-bottom") %> <%= theme_form_field(@event, :venue, required: false, form_style: "top-bottom") %> <%= theme_form_field(@event, :description, required: true, html_options: {type: :textarea, class: "form-control wysihtml5", "data-stylesheet-url": "assets/wysiwyg-color.css"}, form_style: "top-bottom") %> <div class="row"> <div class="col-md-3 pr-20"> <%= theme_form_field(@event, :starts_at, required: false, html_options: {type: :date}, form_style: "top-bottom") %> </div> <div class="col-md-3 pl-20"> <%= theme_form_field(@event, :ends_at, required: false, html_options: {type: :date}, form_style: "top-bottom") %> </div> <div class="col-md-3 pl-20"> <%= theme_form_field(@event, :priority, required: false, html_options: {type: :number, style: "width:70px;"}, form_style: "top-bottom") %> </div> </div> </div> <div> <%= submit_tag("Save", :class=>"btn btn-primary pull-right ml-10") %> <%= link_to raw("<i class='fa fa-close mr-5'></i><span>Cancel</span>"), "#", onclick: "closeLargeModal();", class: "pull-right btn btn-white" %> </div> <%= clear_tag %> </div> <% end %>
Version data entries
24 entries across 24 versions & 1 rubygems