16 lines
428 B
Plaintext
16 lines
428 B
Plaintext
|
<div class="modal-body">
|
||
|
<div class="event_controller">
|
||
|
<% if !@categories.blank? %>
|
||
|
<%= form_for @event, url: {action: "update"}, :remote=>true 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>
|