Sha256: d418b04141c13f962dd9d7d5e895bc92fe51216359326ecaac59898a82507cfa

Contents?: true

Size: 649 Bytes

Versions: 1

Compression:

Stored size: 649 Bytes

Contents

- add_title @event.name
.event{ class: @event.css_class }
  = date_book_scripts
  = event_occurrence_dates @event
  %dl.dl-horizontal
    %dt= :owner.l
    %dd= @event.owners.first.name
  %dl.dl-horizontal
    %dt= Calendar.model_name.human
    %dd= link_to @event.calendar.name, @event.calendar
  = @event.description.html_safe

  - if can? :edit, @event
    = icon_link_to 'pencil', :edit.l, date_book.edit_calendar_event_path(@event.calendar, @event), class: 'btn btn-info'
  - if can? :delete, @event
    = icon_link_to 'remove', :delete.l, [@event.calendar, @event], class: 'btn btn-danger', method: :delete, data: { confirm: :are_you_sure.l }

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
date_book-0.0.6 app/views/date_book/events/show.html.haml