From 84b5fae8e37b9c1b3766efc047993c69ea046ae3 Mon Sep 17 00:00:00 2001 From: Matt Jankowski Date: Tue, 18 Apr 2017 11:15:30 -0400 Subject: Simplify renders in views (#2084) * Simplify render in mailer views * Simplify render in about/more view * Simplify render in accounts follow views * Simplify render in recovery code views * Simplify render in stream entry embed * Simplify render in stream entries status partial * Simplify render in authorize follow new view --- app/views/authorize_follow/new.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/views/authorize_follow') diff --git a/app/views/authorize_follow/new.html.haml b/app/views/authorize_follow/new.html.haml index 95601253e..3b60df058 100644 --- a/app/views/authorize_follow/new.html.haml +++ b/app/views/authorize_follow/new.html.haml @@ -5,7 +5,7 @@ .follow-prompt %h2= t('authorize_follow.prompt_html', self: current_account.username) - = render partial: 'card', locals: { account: @account } + = render 'card', account: @account = form_tag authorize_follow_path, method: :post, class: 'simple_form' do = hidden_field_tag :acct, @account.acct -- cgit