From 5d998a8e939ba927ccb4b98493bcb7e9a396de65 Mon Sep 17 00:00:00 2001 From: Jan-Christoph Borchardt Date: Wed, 20 Jul 2011 11:20:18 +0200 Subject: [PATCH] Fix issue #1410, remove cancel button in messages conversation --- app/views/conversations/_show.haml | 1 - app/views/conversations/new.haml | 1 - 2 files changed, 2 deletions(-) diff --git a/app/views/conversations/_show.haml b/app/views/conversations/_show.haml index 277b8973a..43623aae6 100644 --- a/app/views/conversations/_show.haml +++ b/app/views/conversations/_show.haml @@ -29,5 +29,4 @@ = form_for [conversation, Message.new] do |message| = message.text_area :text, :rows => 5, :tabindex => 1 .right - = message.submit t('cancel'), :name => "reset", :id => "reset_button", :type => "reset", :class => "button", :tabindex => 3 = message.submit t('.reply').capitalize, :class => 'button creation', :tabindex => 2 diff --git a/app/views/conversations/new.haml b/app/views/conversations/new.haml index 4589d3e7d..ae552ed22 100644 --- a/app/views/conversations/new.haml +++ b/app/views/conversations/new.haml @@ -50,5 +50,4 @@ .clearfix .bottom_submit_section - = submit_tag t('cancel'), :class => 'button', :type => :reset, :rel => "close", :confirm => t('.abandon_changes') = conversation.submit t('.send'), :disable_with => t('shared.publisher.posting'), :class => 'button creation'