tack2us/app/views/pastes/_form.html.erb

7 lines
216 B
Text

<%= form_for @paste do |f| %>
<div class="form-group">
<%= f.label :content %>
<%= f.text_area :content, class: 'form-control' %>
</div>
<%= f.submit 'Paste it!', class: 'btn btn-primary' %>
<% end %>