Edição de Cidade

<%= error_messages_for :cidade %> <% form_for(@cidade) do |f| %>
UF *
<%= f.collection_select :uf_id, Uf.find(:all), :id, :nome, :prompt => 'Selecione um estado' %>
Nome *
<%= f.text_field :nome, :size => 50, :maxlength => 100 %>
<%= f.submit "Salvar" %>
<% end %>
* Campos obrigatórios
<%= link_to 'Visualizar', @cidade %> | <%= link_to 'Voltar', cidades_path %>