<%= form_for(note) do |f| %>
  <%= render partial: 'shared/error_list', locals: {model: @note} %>

  <div class="form-group">
    <%= f.label :content, 'Note', class: 'control-label' %>
    <%= f.text_field :content, class: 'form-control' %>
  </div>

  <div class="actions">
    <%= f.submit class: 'btn btn-primary' %>
    <%= link_to 'Back', notes_path, class: 'btn btn-default' %>
  </div>
<% end %>
