diff --git a/client/views/comments/comment_form.html b/client/views/comments/comment_form.html
index a4f4b928a..1ebb62bbc 100644
--- a/client/views/comments/comment_form.html
+++ b/client/views/comments/comment_form.html
@@ -6,7 +6,7 @@
diff --git a/packages/telescope-datetimepicker/autoform-bs-datepicker.html b/client/views/forms/urlCustomType.html
similarity index 56%
rename from packages/telescope-datetimepicker/autoform-bs-datepicker.html
rename to client/views/forms/urlCustomType.html
index c18fd946a..4025d1015 100644
--- a/packages/telescope-datetimepicker/autoform-bs-datepicker.html
+++ b/client/views/forms/urlCustomType.html
@@ -1,3 +1,3 @@
-
+
\ No newline at end of file
diff --git a/client/views/forms/urlCustomType.js b/client/views/forms/urlCustomType.js
new file mode 100644
index 000000000..bdc250ea7
--- /dev/null
+++ b/client/views/forms/urlCustomType.js
@@ -0,0 +1,18 @@
+AutoForm.addInputType("bootstrap-url", {
+ template: "afBootstrapUrl",
+ valueOut: function () {
+ var url = this.val();
+ if(!!url)
+ return (url.substring(0, 7) == "http://" || url.substring(0, 8) == "https://") ? url : "http://"+url;
+ }
+});
+
+Template.afBootstrapUrl.helpers({
+ atts: function addFormControlAtts() {
+ var atts = _.clone(this.atts);
+ // Add bootstrap class
+ atts = AutoForm.Utility.addClass(atts, "form-control");
+ return atts;
+ }
+});
+
diff --git a/client/views/posts/post_submit.html b/client/views/posts/post_submit.html
index ef796787e..61f9f3105 100644
--- a/client/views/posts/post_submit.html
+++ b/client/views/posts/post_submit.html
@@ -1,7 +1,7 @@
- {{> quickForm collection="Posts" id="insertPostForm" type="insert" template="telescope" label-class="control-label" input-col-class="controls"}}
+ {{> quickForm collection="Posts" id="insertPostForm" template="telescope" label-class="control-label" input-col-class="controls"}}