-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #992 from sul-dlss/feedback-notice
Add a feedback alert and a boolean settings flag to turn it off/on.
- Loading branch information
Showing
4 changed files
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,9 @@ | ||
<div class="container"> | ||
<% if Settings.FEEDBACK_ALERT %> | ||
<p class="feedback-alert"> | ||
<%= t('blacklight.feedback_form.feedback_alert_html', href: mail_to("[email protected]")) %> | ||
</p> | ||
<% end %> | ||
<%= form_tag feedback_form_path, method: :post, class:"form-horizontal feedback-form", role:"form" do %> | ||
<div class="col-sm-6 col-sm-offset-2"> | ||
<div class="col-sm-offset-3"> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters