Skip to content
Snippets Groups Projects
Commit c5296022 authored by Arnaud Levy's avatar Arnaud Levy
Browse files
parent 0ab110f1
No related branches found
No related tags found
No related merge requests found
......@@ -8,6 +8,7 @@
<%= f.input :title %>
<%= render 'admin/application/summary/form', f: f, about: event %>
<% end %>
<%= osuny_panel Communication::Website::Agenda::Event.human_attribute_name('dates') do %>
<div class="row pure__row--small">
<div class="col-md-6">
<%= f.input :from_day, html5: true %>
......@@ -24,11 +25,8 @@
<%= f.input :to_hour, html5: true %>
</div>
</div>
<div class="row pure__row--small">
<div class="col-md-6">
<%= render 'admin/application/meta_description/form', f: f, about: event %>
</div>
</div>
<% end %>
<%= render 'admin/application/meta_description/form', f: f, about: event %>
</div>
<div class="col-md-4">
<%= osuny_panel t('metadata') do %>
......
......@@ -12,7 +12,7 @@
</thead>
<tbody>
<% events.each do |event| %>
<tr <% unless event.published? %>class="draft"<% end %>>
<tr class="<% 'draft' unless event.published? %>">
<td class="ps-0">
<%= link_to event,
admin_communication_website_agenda_event_path(website_id: event.website.id, id: event.id),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment