diff options
Diffstat (limited to 'app/views/application/_md_editor_user.html.erb')
-rw-r--r-- | app/views/application/_md_editor_user.html.erb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/app/views/application/_md_editor_user.html.erb b/app/views/application/_md_editor_user.html.erb new file mode 100644 index 0000000..25f63a4 --- /dev/null +++ b/app/views/application/_md_editor_user.html.erb @@ -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> |