Sha256: f8c28ea1b30115a27d86a0057433b60ab43c4c528039b3ca58fe7e25cea6054a
Contents?: true
Size: 1.18 KB
Versions: 6
Compression:
Stored size: 1.18 KB
Contents
= render "layouts/manage/page_title", title: @trackable_tag.name, subtitle: "Trackable Tag" do .btn-group = link_to 'Edit', edit_manage_trackable_tag_path(@trackable_tag), class: 'btn btn-sm btn-outline-secondary' = link_to 'Delete', manage_trackable_tag_path(@trackable_tag), method: :delete, data: { confirm: "Are you sure? The trackable tag \"#{@trackable_tag.name}\" will be permanently erased. This action is irreversible." }, class: 'btn btn-sm btn-outline-secondary' %p %b Name: = @trackable_tag.name %p %b= link_to 'Add event', new_manage_trackable_event_path(trackable_tag_id: @trackable_tag.id) = area_chart @trackable_tag.trackable_events.group_by_minute(:created_at).count %table.table.table-striped %thead %tr %th Date %th Band %th Entered by %th %tbody - @trackable_tag.sorted_events.each do |trackable_event| %tr %td= display_datetime(trackable_event.created_at) %td= trackable_event.band_id %td= trackable_event.user.email %td - unless current_user.admin_limited_access && current_user != trackable_event.user = link_to 'Edit', edit_manage_trackable_event_path(trackable_event)
Version data entries
6 entries across 6 versions & 1 rubygems