Sha256: 76d4c67e00a1b0638749e56ebb791b4b2bf5b10a095413d766c583849dc4b68a

Contents?: true

Size: 354 Bytes

Versions: 6

Compression:

Stored size: 354 Bytes

Contents

%h1= _("Show chat")

= chatty_chat(@chat)

- if @chat.can_handle? && can?(:handle, @chat)
  = link_to _("Handle"), handle_chat_path(@chat), :method => :post, :data => {:confirm => _("Are you sure?")}

- if @chat.can_close? && can?(:close, @chat)
  = link_to _("Close"), close_chat_path(@chat), :method => :post, :data => {:confirm => _("Are you sure?")}

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
chatty-0.0.6 app/views/chatty/chats/show.html.haml
chatty-0.0.5 app/views/chatty/chats/show.html.haml
chatty-0.0.4 app/views/chatty/chats/show.html.haml
chatty-0.0.3 app/views/chatty/chats/show.html.haml
chatty-0.0.2 app/views/chatty/chats/show.html.haml
chatty-0.0.1 app/views/chatty/chats/show.html.haml