use markdown editor
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
= f.error_notification
|
||||
|
||||
= f.input :name
|
||||
= f.input :bio
|
||||
= render "merged/form/editor" , object: @profile , field: :bio, form: f
|
||||
= f.input :kind, :as => :hidden
|
||||
.flex.h-16.mt-2
|
||||
= image_tag(@profile.picture_url , class: "align-middle mr-2") if @profile.picture?
|
||||
|
@ -1,3 +1,6 @@
|
||||
%script{:src => "https://cdn.jsdelivr.net/npm/vue@2.7.14/dist/vue.js"}
|
||||
%script{:src => "https://cdn.jsdelivr.net/npm/marked/marked.min.js"}
|
||||
|
||||
.flex.justify-center
|
||||
.column{class: "w-10/12 md:w-8/12 lg:w-5/12 xl:w-4/12"}
|
||||
.text-xl.m-4
|
||||
|
@ -1,3 +1,6 @@
|
||||
%script{:src => "https://cdn.jsdelivr.net/npm/vue@2.7.14/dist/vue.js"}
|
||||
%script{:src => "https://cdn.jsdelivr.net/npm/marked/marked.min.js"}
|
||||
|
||||
.flex.justify-center
|
||||
.column{class: "w-10/12 md:w-8/12 lg:w-5/12 xl:w-4/12"}
|
||||
.text-xl.m-4
|
||||
|
Reference in New Issue
Block a user