circle_speech_balloon 0.0.16 → 0.0.20

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,14 @@
1
1
  <div id="<%= balloon.field_tag_id(:form) %>" classname="<%= balloon.classname %>">
2
-
2
+ <div class="field">
3
+ <%= f.label :r %>
4
+ <%= f.number_field :r, :size => 5, :id => balloon.field_tag_id(:r), :panel_id => balloon.tag_panel_id, :element_id => balloon.tag_element_id, :element_type => balloon.tag_element_type, :element_part_id => balloon.tag_element_part_id, :element_part_type => balloon.tag_element_part_type, :column => :r, :tree => balloon.field_tree(:r) %>
5
+ <span class="r-wrap" style="display: none;" panel_id="<%= balloon.tag_panel_id -%>" element_id="<%= balloon.tag_element_id -%>" element_type="<%= balloon.tag_element_type -%>" element_part_id="<%= balloon.tag_element_part_id -%>" element_part_type="<%= balloon.tag_element_part_type -%>" r_step="<%= balloon.r_step -%>">
6
+ <button class="r-down" value="0"><</button>
7
+ <button class="r-up" value="0">></button>
8
+ <button class="r-reset" value="0">reset</button>
9
+ </span>
10
+ </div>
11
+
3
12
  <div class="field">
4
13
  <%= f.label :x %>
5
14
  <%= f.number_field :x, :size => 5, :id => balloon.field_tag_id(:x), :panel_id => balloon.tag_panel_id, :element_id => balloon.tag_element_id, :element_type => balloon.tag_element_type, :element_part_id => balloon.tag_element_part_id, :element_part_type => balloon.tag_element_part_type, :column => :x, :tree => balloon.field_tree(:x) %>
@@ -16,16 +25,6 @@
16
25
  <%= f.number_field :height, :size => 5, :id => balloon.field_tag_id(:height), :panel_id => balloon.tag_panel_id, :element_id => balloon.tag_element_id, :element_type => balloon.tag_element_type, :element_part_id => balloon.tag_element_part_id, :element_part_type => balloon.tag_element_part_type, :column => :height, :tree => balloon.field_tree(:height) %>
17
26
  </div>
18
27
 
19
- <div class="field">
20
- <%= f.label :r %>
21
- <%= f.number_field :r, :size => 5, :id => balloon.field_tag_id(:r), :panel_id => balloon.tag_panel_id, :element_id => balloon.tag_element_id, :element_type => balloon.tag_element_type, :element_part_id => balloon.tag_element_part_id, :element_part_type => balloon.tag_element_part_type, :column => :r, :tree => balloon.field_tree(:r) %>
22
- <span class="r-wrap" style="display: none;" panel_id="<%= balloon.tag_panel_id -%>" element_id="<%= balloon.tag_element_id -%>" element_type="<%= balloon.tag_element_type -%>" element_part_id="<%= balloon.tag_element_part_id -%>" element_part_type="<%= balloon.tag_element_part_type -%>" r_step="<%= balloon.r_step -%>">
23
- <button class="r-down" value="0"><</button>
24
- <button class="r-up" value="0">></button>
25
- <button class="r-reset" value="0">reset</button>
26
- </span>
27
- </div>
28
-
29
28
  <%= f.hidden_field :system_picture_id, :id => balloon.field_tag_id(:system_picture_id), :panel_id => balloon.tag_panel_id, :element_id => balloon.tag_element_id, :element_type => balloon.tag_element_type, :element_part_id => balloon.tag_element_part_id, :element_part_type => balloon.tag_element_part_type, :column => :system_picture_id, :tree => balloon.field_tree(:system_picture_id) %>
30
29
  <%= f.hidden_field :settings, :id => balloon.field_tag_id(:settings), :panel_id => balloon.tag_panel_id, :element_id => balloon.tag_element_id, :element_type => balloon.tag_element_type, :element_part_id => balloon.tag_element_part_id, :element_part_type => balloon.tag_element_part_type, :column => :settings, :tree => balloon.field_tree(:settings) %>
31
30
  <%= f.hidden_field :speech_balloon_id, :id => balloon.field_tag_id(:speech_balloon_id), :panel_id => balloon.tag_panel_id, :element_id => balloon.tag_element_id, :element_type => balloon.tag_element_type, :element_part_id => balloon.tag_element_part_id, :element_part_type => balloon.tag_element_part_type, :column => :speech_balloon_id, :tree => balloon.field_tree(:speech_balloon_id) %>
@@ -1,4 +1,8 @@
1
-
1
+ <div class="field">
2
+ <%= f.label :writing_format_id %><br />
3
+ <%= f.collection_select :writing_format_id, WritingFormat.list.map {|l| [l.caption, l.id] }, :last, :first %>
4
+ </div>
5
+
2
6
  <div class="field">
3
7
  <%= f.label :content %><br />
4
8
  <%= f.text_area :content, :size => '20x7', :id => speech.field_tag_id(:content), :panel_id => speech.tag_panel_id, :element_id => speech.tag_element_id, :element_type => speech.tag_element_type, :element_part_id => speech.tag_element_part_id, :element_part_type => speech.tag_element_part_type, :column => :content, :tree => speech.field_tree(:content) %>
@@ -1,3 +1,3 @@
1
1
  module CircleSpeechBalloon
2
- VERSION = "0.0.16"
2
+ VERSION = "0.0.20"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: circle_speech_balloon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.16
4
+ version: 0.0.20
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-07-21 00:00:00.000000000 Z
12
+ date: 2013-07-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails