Added messaging feature

This commit is contained in:
MrYummy
2017-05-27 00:34:47 +02:00
parent 992406a20b
commit e378dfab02
23 changed files with 236 additions and 38 deletions

View File

@@ -8,4 +8,4 @@
<%= text_area_tag name, content, options %>
<div class="preview"><i>(Loading...)</i></div>
</div>
</div>
</div>

View File

@@ -0,0 +1,8 @@
<div class="md_editor">
<div class="field_container_user">
<% options = (defined?(options) && options || {}) %>
<% options[:class] = "#{options[:class]} editor_field" %>
<% options[:placeholder] ||= "Enter user's name. prefix with \"@\" to get suggestions." %>
<%= text_field_tag name, content, options %>
</div>
</div>