mirror of
https://github.com/we-promise/sure.git
synced 2026-04-21 21:14:17 +00:00
Add Live Data to Account Page (#464)
* Add trends, time series, seed data * Remove test data * Replace old view values with helpers * Fix tooltip bugs in D3 chart * Fix tests * Fix smoke test * Add CRUD actions for valuations * Scaffold out inline editing with Turbo
This commit is contained in:
8
app/views/valuations/edit.html.erb
Normal file
8
app/views/valuations/edit.html.erb
Normal file
@@ -0,0 +1,8 @@
|
||||
<div>
|
||||
<h1 class="font-bold text-4xl">Edit Valuation: <%= @valuation.type %></h1>
|
||||
<%= turbo_frame_tag dom_id(@valuation) do %>
|
||||
<%= form_with model: @valuation, url: valuation_path(@valuation), scope: :valuation do |f| %>
|
||||
<%= render 'form_row', f: f, form_icon: "pencil-line", submit_button_text: "Update" %>
|
||||
<% end %>
|
||||
<% end %>
|
||||
</div>
|
||||
Reference in New Issue
Block a user