sibu 0.6.4 → 0.6.5
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: de8d62d4237579055ee7beb1d2444f26a3ef5029
|
4
|
+
data.tar.gz: 738a04d070723936adb20d39df2c10cd3fbc0f75
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8cabf4bcc31acdf588aabea0ce004a82343abeecd1c1741f0c6cc6ba0bd881087774a252834977f8d6819b8ec5704d566e5335b4b408474b5180a0ab6d7b7190
|
7
|
+
data.tar.gz: bba89e84090cd9505ff62e2cec96061bf68c8c6fd128b2eed06c999eaaa0997a5b05e7093b099e77135a565aea37de21a596985a220275ba69f5c4db17f3e3f1
|
@@ -1,19 +1,24 @@
|
|
1
1
|
<div class="sibu_image_preview">
|
2
2
|
<%= image_tag @image.file_url(:medium) %>
|
3
3
|
</div>
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
<small>Renseignez un texte décrivant l'image</small>
|
11
|
-
</div>
|
4
|
+
<%= form_for(@image) do |f| %>
|
5
|
+
<div class="sibu_field">
|
6
|
+
<%= f.label :alt, "Légende / texte alternatif" %>
|
7
|
+
<div>
|
8
|
+
<%= f.text_field :alt %><br/>
|
9
|
+
<small>Renseignez un texte décrivant l'image</small>
|
12
10
|
</div>
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
11
|
+
</div>
|
12
|
+
<div class="sibu_field">
|
13
|
+
<%= f.label :credits, "Crédits" %>
|
14
|
+
<div>
|
15
|
+
<%= f.text_field :credits %><br/>
|
16
|
+
<small>Crédits, copyright...</small>
|
17
17
|
</div>
|
18
|
-
|
18
|
+
</div>
|
19
|
+
<%= f.hidden_field :user_id %>
|
20
|
+
<div class="sibu_actions">
|
21
|
+
<%= f.submit 'Mettre à jour' %>
|
22
|
+
<%= link_to 'Supprimer', image_path(@image.id), method: :delete, data: {confirm: "Supprimer l'image ?", disable_with: "Suppression en cours..."} %>
|
23
|
+
</div>
|
19
24
|
<% end %>
|
@@ -14,6 +14,13 @@
|
|
14
14
|
<small>Renseignez un texte décrivant l'image</small>
|
15
15
|
</div>
|
16
16
|
</div>
|
17
|
+
<div class="sibu_field">
|
18
|
+
<%= f.label :credits, "Crédits" %>
|
19
|
+
<div>
|
20
|
+
<%= f.text_field :credits %><br/>
|
21
|
+
<small>Crédits, copyright...</small>
|
22
|
+
</div>
|
23
|
+
</div>
|
17
24
|
<%= f.hidden_field :user_id %>
|
18
25
|
<%= hidden_field_tag :page_id, @page_id %>
|
19
26
|
<%= hidden_field_tag :entity_type, @entity_type %>
|
data/lib/sibu/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sibu
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jean-Baptiste Vilain
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-09-
|
11
|
+
date: 2018-09-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -252,7 +252,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
252
252
|
version: '0'
|
253
253
|
requirements: []
|
254
254
|
rubyforge_project:
|
255
|
-
rubygems_version: 2.6.
|
255
|
+
rubygems_version: 2.6.13
|
256
256
|
signing_key:
|
257
257
|
specification_version: 4
|
258
258
|
summary: Sibu - A Site Builder for Ruby on Rails
|