From 5c483df49a4261d09d866c652f289b5aa77137b3 Mon Sep 17 00:00:00 2001 From: Tyrel Souza Date: Tue, 6 May 2014 15:58:09 -0400 Subject: [PATCH] simple_format for notes --- app/views/campaigns/_form.html.erb | 2 +- app/views/campaigns/_videolisting.html.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/campaigns/_form.html.erb b/app/views/campaigns/_form.html.erb index 22bb6d4..73d735d 100644 --- a/app/views/campaigns/_form.html.erb +++ b/app/views/campaigns/_form.html.erb @@ -21,7 +21,7 @@ hint: "The name of the company." %> <%= frm.input :listingcode, label: 'Listing Code', - hint: "This should be the same as Intake Form's Form Hash." %> + as: :hidden %> <%= frm.input :description, label: 'Description', as: 'text', diff --git a/app/views/campaigns/_videolisting.html.erb b/app/views/campaigns/_videolisting.html.erb index a8d2324..8e0267e 100644 --- a/app/views/campaigns/_videolisting.html.erb +++ b/app/views/campaigns/_videolisting.html.erb @@ -32,7 +32,7 @@ <% unless videolisting.notes.blank? %>
  • Production Notes
    - <%= videolisting.notes %>

    + <%= simple_format(videolisting.notes) %>

  • <% end %> <% unless videolisting.asseturls.blank? %>