Sha256: 8fd59beda8f185a6db08cb291545a00b8fdeef9cf2af0075edd17eac93f16692

Contents?: true

Size: 707 Bytes

Versions: 3

Compression:

Stored size: 707 Bytes

Contents

<li id="spud_events_admin_calendar_legend_<%= calendar.id %>" class="spud_events_admin_calendar_legend_item">
  <div class="spud_events_admin_calendar_actions pull-right">
    <%= link_to 'edit', edit_admin_calendar_path(calendar), :class => "btn btn-sm btn-default" %>
    <%= link_to 'delete', admin_calendar_path(calendar), :remote => true, :data => {:confirm => "This action can't be undone. Would you like to remove the calendar \"#{calendar.title}\"?"}, :method => :delete, :class => 'js-spud-calendar-delete-action btn btn-sm btn-danger' %>
  </div>
  <%= content_tag :span, calendar.title, :style => "background-color: \##{calendar.color}", :class => 'label' %>
  <div class="clearfix"></div>
</li>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tb_events-1.3.1 app/views/admin/calendars/_calendar_legend.html.erb
tb_events-1.3.0 app/views/admin/calendars/_calendar_legend.html.erb
tb_events-1.2.0.beta1 app/views/admin/calendars/_calendar_legend.html.erb