From 9bdcba46099796636646f36779a3997b269ec957 Mon Sep 17 00:00:00 2001 From: Rishabh Singh Date: Sat, 17 Aug 2019 18:15:01 +0530 Subject: [PATCH] Remove instance variables to fix haml-lint --- app/views/admin/booths/edit.html.haml | 2 +- app/views/admin/booths/new.html.haml | 2 +- app/views/booths/edit.html.haml | 2 +- app/views/booths/new.html.haml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/views/admin/booths/edit.html.haml b/app/views/admin/booths/edit.html.haml index 0cac17e7..0d24060e 100644 --- a/app/views/admin/booths/edit.html.haml +++ b/app/views/admin/booths/edit.html.haml @@ -2,4 +2,4 @@ Editing = @booth.title -= render 'booths/form' += render 'booths/form', conference: @conference diff --git a/app/views/admin/booths/new.html.haml b/app/views/admin/booths/new.html.haml index 0cf6adb5..39b71dc8 100644 --- a/app/views/admin/booths/new.html.haml +++ b/app/views/admin/booths/new.html.haml @@ -1,3 +1,3 @@ %h1 New #{t'booth'} -= render 'booths/form' += render 'booths/form', conference: @conference diff --git a/app/views/booths/edit.html.haml b/app/views/booths/edit.html.haml index 9f60196d..6c606080 100644 --- a/app/views/booths/edit.html.haml +++ b/app/views/booths/edit.html.haml @@ -3,4 +3,4 @@ Editing = @booth.title - = render 'form' + = render 'form', conference: @conference diff --git a/app/views/booths/new.html.haml b/app/views/booths/new.html.haml index 6713d312..57ce956b 100644 --- a/app/views/booths/new.html.haml +++ b/app/views/booths/new.html.haml @@ -1,4 +1,4 @@ .container %h1 Request a #{t'booth'} - = render 'form' + = render 'form', conference: @conference