<%= form_with(model: project, local: true) do |form| %>
<%= render '/shared/errors_list', error_object: project %>
<div class="form-group">
  <%= form.label :name %>
  <%= form.text_field :name, class: 'form-control', placeholder: 'Wprowadź nazwę' %>
</div>
 <div class="form-group">
   <%= form.label :description %>
   <%= form.text_field :description, class: 'form-control', placeholder: 'Wprowadź opis' %>
</div>

<div class="card-footer">
  <%= link_to '< Wróć', projects_path, class: 'btn btn-info' %>
  <button type="submit" class="btn btn-primary">Zapisz</button>
</div>
<% end %>
