square_speech_balloon 0.0.38 → 0.0.50
Sign up to get free protection for your applications and to get access to all the features.
@@ -2,6 +2,6 @@
|
|
2
2
|
<p id="notice"><%= notice %></p>
|
3
3
|
|
4
4
|
<h2><%= t('home.index.catch') -%></h2>
|
5
|
-
<%= render 'panels/standard', :panel => @panel, :
|
5
|
+
<%= render 'panels/standard', :panel => @panel, :operators => @operators %>
|
6
6
|
<h2><%= t('speech_balloons.update_speech_balloon') -%></h2>
|
7
7
|
<%= render @speech_balloon.form_template, :elm => @speech_balloon, :no_attr => 0 %>
|
@@ -2,6 +2,6 @@
|
|
2
2
|
<p id="notice"><%= notice %></p>
|
3
3
|
|
4
4
|
<h2><%= t('home.index.catch') -%></h2>
|
5
|
-
<%= render 'panels/standard', :panel => @panel, :
|
5
|
+
<%= render 'panels/standard', :panel => @panel, :operators => @operators %>
|
6
6
|
<h2><%= t('speech_balloons.create_speech_balloon') -%></h2>
|
7
7
|
<%= render @speech_balloon.form_template, :elm => @speech_balloon, :no_attr => 0 %>
|
@@ -1,16 +1,16 @@
|
|
1
1
|
<div class="field">
|
2
2
|
<%= f.label :writing_format_id %>
|
3
|
-
<%= f.collection_select :writing_format_id, WritingFormat.list.map {|l| [l.caption, l.id] },
|
3
|
+
<%= f.collection_select :writing_format_id, WritingFormat.list.map {|l| [l.caption, l.id] }, *speech.select_tag_attributes(speech.writing_format_id, :writing_format_id, no_attr) %>
|
4
4
|
|
5
5
|
<%= f.label :font_size %>
|
6
|
-
<%= f.collection_select :font_size, t_select_items(
|
6
|
+
<%= f.collection_select :font_size, t_select_items(manifest.select_items['magic_number']['speech_font_size_items']), *speech.select_tag_attributes(speech.font_size, :font_size, no_attr) %>
|
7
7
|
</div>
|
8
8
|
<div class="row_break">
|
9
9
|
</div>
|
10
10
|
|
11
11
|
<div class="field">
|
12
12
|
<%= f.label :text_align %>
|
13
|
-
<%= f.collection_select :text_align, t_select_items(
|
13
|
+
<%= f.collection_select :text_align, t_select_items(manifest.select_items['magic_number']['speech_text_align_items']), *speech.select_tag_attributes(speech.text_align, :text_align, no_attr) %>
|
14
14
|
|
15
15
|
<%= f.label :quotes %>
|
16
16
|
<%= f.text_field :quotes, speech.field_tag_attributes(:quotes, no_attr, :size => 5) %>
|
@@ -30,7 +30,7 @@
|
|
30
30
|
<%= f.text_field :fore_color, speech.field_tag_attributes(:fore_color, no_attr, :size => 8) %>
|
31
31
|
<% if speech.has_helper?(:fore_color) %>
|
32
32
|
<div class="speech-fore_color-wrap">
|
33
|
-
|
33
|
+
<%# render speech.form_helper_template(:fore_color), :elm => speech, :no_attr => no_attr %>
|
34
34
|
</div>
|
35
35
|
<% end %>
|
36
36
|
</div>
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: square_speech_balloon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.50
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,24 +9,8 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-12-23 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
|
-
- !ruby/object:Gem::Dependency
|
15
|
-
name: rails
|
16
|
-
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
|
-
requirements:
|
19
|
-
- - ~>
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
-
version: 3.1.1
|
22
|
-
type: :runtime
|
23
|
-
prerelease: false
|
24
|
-
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
|
-
requirements:
|
27
|
-
- - ~>
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
version: 3.1.1
|
30
14
|
- !ruby/object:Gem::Dependency
|
31
15
|
name: sqlite3
|
32
16
|
requirement: !ruby/object:Gem::Requirement
|