kuppayam 0.1.32 → 0.1.33

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 305b9d0ae821959eb9bd09f24bf4c6439ce1ed809e500d923f3dec1b434e64e6
4
- data.tar.gz: 2437546186ff7cc6f9111449ff9816b81a51b8b542d8aae1792531854b39dcad
3
+ metadata.gz: c53b2f08fdf9206607d636afd374a7583bcf1ec73885ab7d633a06a549ca29bc
4
+ data.tar.gz: 9b7fff7411742c5ab0f58eacbd916ddeee60b7ce46a0ef283f8c266b34c74497
5
5
  SHA512:
6
- metadata.gz: 51f772e085bfe106d801610596aec7fbc70b3f178e8c509c7a5c3dd15d95ba3de0af3bef17df40ea12cae5f1a34b8b8fa66ae4c63ba1c01ac80abedd80ea8415
7
- data.tar.gz: 29a06a2eb25fa8d17e7998ec4890821d316d7ad428001e45b762b6081797f8fcb35b0058383a727b77a02f45a6e38a6b1d78fbcab7e45d0abedb61fa50774597
6
+ metadata.gz: 2290b8fb6b410dfb6967a91585ce36dce136ad2ff4bc0b44611102a2e5dabad70569fa56544461b6f29b1601abfdfeb16f474c56a81335838e236e493e9ba10c
7
+ data.tar.gz: 40597c3ca86f2928e0ffaa9e0289dc028a3db55145981db856373c0ff40d7f3f4ae311f31f904df69137d1bd5383dc100b13ff009c91f57155d0868781ee5810
@@ -38,6 +38,16 @@
38
38
  <%= @image.errors[:base].to_sentence %>
39
39
  </div>
40
40
 
41
+ <% if @image.errors.any? && @current_user && @current_user.super_admin? %>
42
+ <div class="alert alert-danger">
43
+ <ul>
44
+ <% @image.errors.full_messages.each do |i| %>
45
+ <li><%= raw i %></li>
46
+ <% end %>
47
+ </ul>
48
+ </div>
49
+ <% end %>
50
+
41
51
  <%= hidden_field_tag :faction, @image.new_record? ? main_app.images_path : main_app.image_path(@image) %>
42
52
 
43
53
  <%= hidden_field_tag :fmethod, @image.new_record? ? "POST" : "PUT" %>
@@ -1,3 +1,3 @@
1
1
  module Kuppayam
2
- VERSION = '0.1.32'
2
+ VERSION = '0.1.33'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kuppayam
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.32
4
+ version: 0.1.33
5
5
  platform: ruby
6
6
  authors:
7
7
  - kpvarma