aboutsummaryrefslogtreecommitdiff
path: root/app/views/things/_thing.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/things/_thing.html.erb')
-rw-r--r--app/views/things/_thing.html.erb7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/views/things/_thing.html.erb b/app/views/things/_thing.html.erb
new file mode 100644
index 0000000..5a31ccc
--- /dev/null
+++ b/app/views/things/_thing.html.erb
@@ -0,0 +1,7 @@
+<div id="<%= dom_id thing %>" class="thing_row">
+ <div class="thing_head">
+ <div class="dot dot_<%= thing.kind %>" title="<%= I18n.t("things.kind.#{thing.kind}") %>"></div>
+ </div>
+ <div class="thing_body"><%= link_to thing.title, edit_thing_path(thing) %></div>
+ <div class="thing_tail"><%= thing.rate %></div>
+</div>