feedback form

This commit is contained in:
Andrew Brown 2020-07-22 01:30:14 -07:00
parent a12308d7cb
commit e6155cd5be
3 changed files with 22 additions and 0 deletions

View File

@ -80,6 +80,13 @@
Timeline Editor Beta Feedback
</div>
<% end %>
<%= link_to 'https://docs.google.com/forms/d/e/1FAIpQLScCPsoJxLxOC_nY3nMrtENja33lnMXNDrZLtWOxS2BYCNlpCQ/viewform?usp=sf_link', target: '_new', class: 'waves-effect col s12' do %>
<div class="hoverable card-panel">
<i class="material-icons right">exit_to_app</i>
Collections feedback
</div>
<% end %>
<% end %>
</div>

View File

@ -0,0 +1,13 @@
<% if user_signed_in? && current_user.notice_dismissals.where(notice_id: 14).none? %>
<div class="card-panel <%= PageCollection.color %> lighten-5">
<p>
Collections on Notebook.ai are a brand new feature and I'd love to get your feedback on how you would like to use them.
<%= link_to 'To leave feedback, click here.', 'https://docs.google.com/forms/d/e/1FAIpQLScCPsoJxLxOC_nY3nMrtENja33lnMXNDrZLtWOxS2BYCNlpCQ/viewform?usp=sf_link' %>
After dismissing this message, you can also find a link to the feedback form in the <%= link_to 'Help center', help_center_path %>.
</p>
<p>
<%= link_to 'Dismiss this message', notice_dismissal_dismiss_path(notice_id: 15) %>.
</p>
</div>
<% end %>

View File

@ -1,3 +1,5 @@
<%= render partial: 'notice_dismissal/messages/15' %>
<% if @my_collections.any? || current_user.on_premium_plan? %>
<div class="row">
<h1 class="center" style="font-size: 2em">