mirror of
https://github.com/indentlabs/notebook.git
synced 2025-10-26 11:19:22 +00:00
15 lines
532 B
Plaintext
15 lines
532 B
Plaintext
<div class="grey-text">
|
|
Your personal scratchpad — save anything you'd like!
|
|
</div>
|
|
<%= form_for current_user.document || Document.create(user: current_user) do |f| %>
|
|
<%=
|
|
f.text_area :body,
|
|
class: 'materialize-textarea',
|
|
style: 'border: 1px dotted #ccc; padding: 0 4px; min-height: 400px',
|
|
placeholder: "Hi, I'm your personal scratchpad. Write as little or as much as you'd like!"
|
|
%>
|
|
<%= f.submit 'Save changes', class: 'btn btn-primary right blue' %>
|
|
<% end %>
|
|
|
|
<div style="clear: both"></div>
|