diff --git a/src/main/twirl/helper/attached.scala.html b/src/main/twirl/helper/attached.scala.html new file mode 100644 index 0000000..6ac66b0 --- /dev/null +++ b/src/main/twirl/helper/attached.scala.html @@ -0,0 +1,22 @@ +@(owner: String, repository: String)(textarea: Html)(implicit context: app.Context) +@import context._ +
+ @textarea + Attach images by dragging & dropping, or selecting them. +
+@defining("(id=\")([\\w\\-]*)(\")".r.findFirstMatchIn(textarea.body).map(_.group(2))){ textareaId => + +}