From b4425128e6b5f6122ada267a0cfec46f25afdd63 Mon Sep 17 00:00:00 2001 From: Stella Date: Fri, 2 May 2014 22:52:58 +0300 Subject: [PATCH] Mention if registration is required --- app/views/proposal/show.html.haml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/views/proposal/show.html.haml b/app/views/proposal/show.html.haml index 5894da25..9f974ede 100644 --- a/app/views/proposal/show.html.haml +++ b/app/views/proposal/show.html.haml @@ -36,6 +36,8 @@ - if @event.difficulty_level_id %span.label{:style =>"background-color: #{@event.difficulty_level.color};"} = @event.difficulty_level.title + - if @event.require_registration + = link_to "Registration required!", register_conference_path(@conference.short_title), :class => "btn btn-xs btn-warning" .col-md-9 .row .col-md-12