git ssb

3+

arj / patchbook



Commit f9490b57823c88d2d4e1cdc8495b8ab60d63862f

Add placeholder to review textarea to entice people to add reviews

Anders Rune Jensen committed on 1/27/2018, 4:30:42 PM
Parent: aec18c960c4aa8a02c95617175b8a67e715fb95d

Files changed

book/html/layout/detail.jschanged
book/html/layout/detail.jsView
@@ -115,9 +115,13 @@
115115 ? '-expanded'
116116 : '-contracted'
117117 })
118118
119- let textArea = h('textarea', {'ev-input': e => value.set(e.target.value), value })
119 + let textArea = h('textarea', {
120 + 'ev-input': e => value.set(e.target.value),
121 + value,
122 + 'placeholder': 'Please add a review to get the conversation started.'
123 + })
120124 let textAreaWrapper = suggestiveTextArea(textArea)
121125
122126 return h('div', { classList }, [
123127 h('div', name + ':'),

Built with git-ssb-web