OSDN Git Service

t#31705:fix elements-tab-face
[pettanr/pettanr.git] / app / views / speech_balloons / _element_face.html.erb
diff --git a/app/views/speech_balloons/_element_face.html.erb b/app/views/speech_balloons/_element_face.html.erb
new file mode 100644 (file)
index 0000000..c7f858d
--- /dev/null
@@ -0,0 +1,8 @@
+<div class="elements-tab-face-icon">
+  <%= tag(:img, elm.speech_balloon_template.system_picture.tmb_opt_img_tag) %>
+</div>
+<span class="elements-tab-face-caption">
+  <%= h(truncate(elm.speech.content, :length => 15)) -%>
+</span>
+<div class="elements-tab-face-end">
+</div>