ish_manager 0.1.8.124 → 0.1.8.125

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
  SHA1:
3
- metadata.gz: f7cca36c631eccee721ad01581f4b71025273b60
4
- data.tar.gz: f515eb9235563b9b83e668434b540912ee0c4e0f
3
+ metadata.gz: 88e6790317b763d61d9e5a7554aa7335f8a1e1ed
4
+ data.tar.gz: 60ceeb895def96826961b6dc68a8020526311632
5
5
  SHA512:
6
- metadata.gz: e4e60bbe8b856e35a3651d715b34e2b22e68ce989cf6ef4ab773c3aeb04128a86bea2d3d850a44fa8516f3dbd234c357a784bfd0a6118fd9e88b0a825b4bbc51
7
- data.tar.gz: 610da5990c1c1e2a15918e4b65522c29d01ce0c1bd2eb493c527d3609a7998d3517d3d569b65452cf61b95c30195400a346f817f9d7a377df657e3ace8c66ab5
6
+ metadata.gz: 7e469b195ada17edb6a83d2f95f6255152bc12700bbb5d7979a787d6e824b14031cfc7e1941800f91baab890686dab714cd317b094ed853bd0a61e85dbc19d21
7
+ data.tar.gz: c30ee049fcf097de6d50c45963ae39453e88250ac17315ae5a4fd8e1187887bddb11abd0ce07022ec6c424f366bcf65ff6aebfb492d426618ab57e9565042f42
@@ -19,7 +19,7 @@ class IshManager::ReportsController < IshManager::ApplicationController
19
19
  end
20
20
 
21
21
  def show
22
- @report = Report.unscoped.where({ :is_trash => false }).find params[:id]
22
+ @report = Report.unscoped.find params[:id]
23
23
  authorize! :show, @report
24
24
  end
25
25
 
@@ -25,11 +25,10 @@
25
25
  = f.label :Description
26
26
  = f.text_area :descr, :class => 'tinymce'
27
27
 
28
- %br/
28
+ %br
29
29
 
30
30
  .row
31
31
  .col-md-6
32
- / Single button
33
32
  %label{} City
34
33
  = select :report, :city_id, @cities_list, :class=>"btn"
35
34
 
@@ -72,18 +71,18 @@
72
71
  %button.btn.btn-primary.btn-lg.btn-block{:type => "button", :onClick => "upload()"} Upload File
73
72
  = file_field_tag :photo, :style => "display:none", :id=>"photo"
74
73
  .div.center
75
- %img#thumbnail_image_boy.img-thumbnail{:alt => "uploaded image", :width=>"200px"}/
74
+ %img#thumbnail_image_boy.img-thumbnail{:alt => "uploaded image", :width=>"200px"}
76
75
 
77
76
 
78
77
  :javascript
79
78
 
80
79
  $( document ).ready(function() {
81
80
  $(".caret").html("");
82
- });
81
+ });
83
82
 
84
83
  function upload(){
85
- document.getElementById("photo").click();
86
- }
84
+ document.getElementById("photo").click();
85
+ }
87
86
 
88
87
  function handleFileSelect(evt) {
89
88
  var files = evt.target.files;
@@ -109,10 +108,10 @@
109
108
  }
110
109
  document.getElementById('photo').addEventListener('change', handleFileSelect, false);
111
110
 
112
-
113
-
114
- .wrapper{:style => "text-align: center;"}
115
- %p.center
116
- = f.check_box :is_public
117
- = f.label :is_public
118
- %button.btn.btn-success{:type => "submit"} submit
111
+ .input
112
+ = f.check_box :is_public
113
+ = f.label :is_public
114
+ .input
115
+ = f.check_box :is_trash
116
+ = f.label :is_trash
117
+ %button.btn.btn-success{:type => "submit"} submit
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ish_manager
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8.124
4
+ version: 0.1.8.125
5
5
  platform: ruby
6
6
  authors:
7
7
  - piousbox