diff --git a/app/views/sessions/new.html.erb b/app/views/sessions/new.html.erb index 421fe7c2..d2d78fcc 100644 --- a/app/views/sessions/new.html.erb +++ b/app/views/sessions/new.html.erb @@ -1,7 +1,9 @@ <% content_for :title, "Login" %> <%# * Heading %> -

Faiz al-Mawaid al-Burhaniyah

+
+ <%= image_tag("fmb-logo-full.png", alt: "FMB logo", id: "home__header-logo") %> +
<%# * Login Form %> <%= render "form" %> diff --git a/spec/features/sessions/new_spec.rb b/spec/features/sessions/new_spec.rb index d751c50e..6b19ac52 100644 --- a/spec/features/sessions/new_spec.rb +++ b/spec/features/sessions/new_spec.rb @@ -9,6 +9,10 @@ it { expect(page).to have_title "Login" } + it "logo" do + expect(page).to have_css("img[src*='fmb-logo-full']") + end + it "shows footer" do expect(page).to have_css("#footer") end