mirror of
https://github.com/fazo96/markcloud.git
synced 2025-01-10 11:04:21 +01:00
fix problems on edit page
This commit is contained in:
parent
403948fb38
commit
4a73498e54
@ -93,6 +93,7 @@ Template.layout.showSpinner = ->
|
||||
Meteor.status().connected is no or Router.current().ready() is no
|
||||
Template.home.rendered = ->
|
||||
$('.ttip').tooltip()
|
||||
Template.editor.isPublic = -> return "checked" if @public is yes
|
||||
Template.editor.showTitleChecked = -> return "checked" unless @showTitle is no
|
||||
Template.editor.events
|
||||
'click #upload': (e,t) ->
|
||||
|
@ -90,7 +90,7 @@ You will be able to delete your account and all your data whenever you want.
|
||||
<input type="text" id="title" class="form-control" placeholder="Title" value="{{title}}">
|
||||
<input type="checkbox" id="show-title" {{showTitleChecked}}>
|
||||
Show title in document
|
||||
<input type="checkbox" id="make-public" {{public}}>
|
||||
<input type="checkbox" id="make-public" {{isPublic}}>
|
||||
Make document visible on your profile
|
||||
<textarea id="editor" class="form-control" rows="10" placeholder="Write your markdown :)" autofocus>{{text}}</textarea>
|
||||
<button id="upload" class="btn btn-primary">
|
||||
|
Loading…
Reference in New Issue
Block a user