feedback_gem 0.2.5 → 0.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 524b9ead796dab077f1632675f430a7e534d0608e54907326502f4a12e78c417
|
4
|
+
data.tar.gz: 9b59a193999d2b230e9bbe3edc73021e4f9caffa8cb592aeb5eb6ec14d935e17
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9b1d50a0cf7653c803ab8d058353bbfd59a03f6feceb55165c0f057ea33c2cc8f7896413e5975c3b469528ee9a2b3eca061a51ab87b8bd2ba540c42a98a87b70
|
7
|
+
data.tar.gz: cac979efcc20b90cef7530c1c27080946154c37b11df4ab4faaed805a6e22dc7020789376563917818ade172c0cb97aa26b0c27f321ec20dc79f6f9c873e2c27
|
@@ -44,38 +44,34 @@
|
|
44
44
|
<%= link_to edit_feedback_path(feedback),:class=>'btn btn-secondary btns' do %>
|
45
45
|
<i class="fa fa-pencil"></i>
|
46
46
|
<% end %>
|
47
|
-
<%= link_to
|
47
|
+
<%= link_to '#', "data-toggle"=>"modal", "data-target" => "#delete-#{feedback.id}",:class=>'btn btn-danger btn' do %>
|
48
48
|
<i class="fa fa-trash"></i>
|
49
49
|
<% end %>
|
50
|
+
<div class="modal fade" id="delete-<%= feedback.id%>" tabindex="-1" role="dialog" aria-labelledby="exampleModalScrollableTitle" aria-hidden="true">
|
51
|
+
<div class="modal-dialog modal-dialog-scrollable" role="document">
|
52
|
+
<div class="modal-content">
|
53
|
+
<div class="modal-header">
|
54
|
+
<h5 class="modal-title" id="exampleModalScrollableTitle">Delete</h5>
|
55
|
+
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
56
|
+
<span aria-hidden="true">×</span>
|
57
|
+
</button>
|
58
|
+
</div>
|
59
|
+
<div class="modal-body">
|
60
|
+
Do you want to delete the feedback?
|
61
|
+
</div>
|
62
|
+
<div class="modal-footer">
|
63
|
+
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
|
64
|
+
<%= link_to 'Yes', feedback_path(feedback), method: :delete, :class => 'btn btn-danger'%>
|
65
|
+
</div>
|
66
|
+
</div>
|
67
|
+
</div>
|
68
|
+
</div>
|
69
|
+
</div>
|
70
|
+
</div>
|
50
71
|
</td>
|
51
72
|
</tr>
|
52
73
|
<% end %>
|
53
74
|
</tbody>
|
54
75
|
</table>
|
55
|
-
<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#exampleModalScrollable">
|
56
|
-
Launch demo modal
|
57
|
-
</button>
|
58
|
-
|
59
|
-
<!-- Modal -->
|
60
|
-
<div class="modal fade" id="exampleModalScrollable" tabindex="-1" role="dialog" aria-labelledby="exampleModalScrollableTitle" aria-hidden="true">
|
61
|
-
<div class="modal-dialog modal-dialog-scrollable" role="document">
|
62
|
-
<div class="modal-content">
|
63
|
-
<div class="modal-header">
|
64
|
-
<h5 class="modal-title" id="exampleModalScrollableTitle">Modal title</h5>
|
65
|
-
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
66
|
-
<span aria-hidden="true">×</span>
|
67
|
-
</button>
|
68
|
-
</div>
|
69
|
-
<div class="modal-body">
|
70
|
-
...
|
71
|
-
</div>
|
72
|
-
<div class="modal-footer">
|
73
|
-
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
|
74
|
-
<button type="button" class="btn btn-primary">Save changes</button>
|
75
|
-
</div>
|
76
|
-
</div>
|
77
|
-
</div>
|
78
|
-
</div>
|
79
76
|
</div>
|
80
77
|
</div>
|
81
|
-
|
@@ -7,7 +7,11 @@
|
|
7
7
|
|
8
8
|
<%= stylesheet_link_tag "feedback_gem/application", media: "all" %>
|
9
9
|
<%= javascript_include_tag "feedback_gem/application" %>
|
10
|
-
<
|
10
|
+
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
|
11
|
+
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
|
12
|
+
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
|
13
|
+
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
|
14
|
+
<link href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous">
|
11
15
|
</head>
|
12
16
|
<body>
|
13
17
|
|
data/lib/feedback_gem/version.rb
CHANGED