Sha256: 51a3b17f8bfe38c99a7135303f3d467e857de184eb0117f2e20193d2dee49833

Contents?: true

Size: 683 Bytes

Versions: 4

Compression:

Stored size: 683 Bytes

Contents

<li id="spud_events_admin_calendar_legend_<%= calendar.id %>" class="spud_events_admin_calendar_legend_item">
  <%= content_tag :span, calendar.title, :style => "background-color: \##{calendar.color};color:\##{calendar_fore_color(calendar.color)}"%>
  <div class="spud_events_admin_calendar_actions">
    <%= link_to 'edit', edit_spud_admin_calendar_path(calendar), :class => "btn btn-mini" %>
    <%= link_to 'delete', spud_admin_calendar_path(calendar), :remote => true, :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-mini btn-danger' %>
  </div>
</li>

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
spud_events-0.9.0 app/views/spud/admin/calendars/_calendar_legend.html.erb
tb_events-1.0.2 app/views/spud/admin/calendars/_calendar_legend.html.erb
tb_events-1.0.1 app/views/spud/admin/calendars/_calendar_legend.html.erb
tb_events-1.0 app/views/spud/admin/calendars/_calendar_legend.html.erb