Added generated RESTful RatesController. #1916
This commit is contained in:
1 parent
8eeb0f4872
commit
441a86e7a6
8 files changed
+422
No files matched your search
@@ -0,0 +1,28 @@
|
||||
<h1>Editing rate</h1>
|
||||
|
||||
<% form_for(@rate) do |f| %>
|
||||
<%= f.error_messages %>
|
||||
|
||||
<p>
|
||||
<%= f.label :amount %><br />
|
||||
<%= f.text_field :amount %>
|
||||
</p>
|
||||
<p>
|
||||
<%= f.label :user_id %><br />
|
||||
<%= f.text_field :user_id %>
|
||||
</p>
|
||||
<p>
|
||||
<%= f.label :project_id %><br />
|
||||
<%= f.text_field :project_id %>
|
||||
</p>
|
||||
<p>
|
||||
<%= f.label :date_in_effect %><br />
|
||||
<%= f.date_select :date_in_effect %>
|
||||
</p>
|
||||
<p>
|
||||
<%= f.submit "Update" %>
|
||||
</p>
|
||||
<% end %>
|
||||
|
||||
<%= link_to 'Show', @rate %> |
|
||||
<%= link_to 'Back', rates_path %>
|
||||
Reference in new issue
Block a user