From 76a6cb6b02148a2c785ae12c01100b5974f36b2c Mon Sep 17 00:00:00 2001 From: ioBridge Date: Sun, 27 Mar 2011 19:35:47 -0400 Subject: [PATCH] enable user to clear a channel --- app/views/channels/edit.html.erb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/views/channels/edit.html.erb b/app/views/channels/edit.html.erb index b516f25..6f97202 100644 --- a/app/views/channels/edit.html.erb +++ b/app/views/channels/edit.html.erb @@ -70,6 +70,11 @@ <% end %> + +

+ +

<%= t(:channel_clear_message) %>

+<%= button_to t(:channel_clear), { :controller => 'channels', :action => 'clear', :id => @channel.id }, :confirm => t(:confirm_channel_clear) %>