<%= form_with(model: dictionary, local: true) do |form| %>
<%= render '/shared/errors_list', error_object: dictionary %>
<div class="form-group">
  <%= form.label :shortcut %>
  <%= form.text_field :shortcut, class: 'form-control', placeholder: 'Wprowadź skrót' %>
</div>
<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_area :description, class: 'form-control', placeholder: 'Wprowadź opis' %>
</div>

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