diff --git a/app/views/rates/edit.html.erb b/app/views/rates/edit.html.erb index 72154f8..9352b63 100644 --- a/app/views/rates/edit.html.erb +++ b/app/views/rates/edit.html.erb @@ -1,26 +1,3 @@
- <%= f.label :amount %>
- <%= f.text_field :amount %>
-
- <%= f.label :user_id %>
- <%= f.text_field :user_id %>
-
- <%= f.label :project_id %>
- <%= f.text_field :project_id %>
-
- <%= f.label :date_in_effect %>
- <%= f.date_select :date_in_effect %>
-
- <%= f.submit "Update" %> -
-<% end %> - -<%= link_to 'Show', @rate %> | -<%= link_to 'Back', rates_path %> +<%= render :partial => 'rates/form' %>