Add admin interface for user feedbacks

This commit is contained in:
2014-10-02 20:07:36 +02:00
parent 63bd76afcf
commit 3365edcdf0
6 changed files with 49 additions and 2 deletions
+3 -2
View File
@@ -25,6 +25,7 @@ html lang="en"
section.top-bar-section
ul.left
li= link_to User.model_name.human_plural, admin_users_path
li= link_to "User Feedback", admin_user_feedbacks_path
li.divider
ul.left
li.has-dropdown.not-click
@@ -49,11 +50,11 @@ html lang="en"
.content
- if flash[:alert].present?
.alert.alert-error
.alert-box.alert
a.close data-dismiss="alert" ×
div= flash[:alert]
- if flash[:notice].present?
.alert.alert-success
.alert-box.success
a.close data-dismiss="alert" ×
div= flash[:notice]
.row