16 lines
518 B
Plaintext
16 lines
518 B
Plaintext
<div class="modal-body">
|
|
<div class="event_controller">
|
|
<% if !@categories.blank? %>
|
|
<%= form_for @event, url: {action: "update"}, :remote=>true, :html => {:class=>"form-horizontal"} do |f| %>
|
|
<%= render :partial => 'form', :locals => {:f => f} %>
|
|
<% end %>
|
|
<% else %>
|
|
<div class="modal-body" id="no-categories">
|
|
<div class="event_summary">
|
|
No categories assigned.
|
|
<a href="" class="btn btn-close" >×</a>
|
|
</div>
|
|
</div>
|
|
<% end %>
|
|
</div>
|
|
</div> |