Add missing label to form

This commit is contained in:
Uku Taht 2019-09-11 16:42:07 +01:00
parent e34242ee51
commit 1417ed1927

View File

@ -140,6 +140,7 @@
<%= if @monthly_report_changeset do %>
<div class="text-sm text-grey-darker mt-6">
<%= form_for @monthly_report_changeset, "/sites/#{@site.domain}/monthly-report", [class: "max-w-xs"], fn f -> %>
<%= label f, :email, "Email address", class: "block text-grey-darker text-sm font-bold mb-2" %>
<div class="flex">
<%= email_input f, :email, class: "transition bg-grey-lighter appearance-none border border-transparent rounded w-full p-2 text-grey-darker leading-normal appearance-none focus:outline-none focus:border-grey-light", style: "flex-grow: 2" %>
<%= submit "Update", class: "button rounded-l-none" %>