update lookup
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<%= simple_form_for(@settings_lookup) do |f| %>
|
||||
<%= simple_form_for([:settings,@settings_lookup]) do |f| %>
|
||||
<%= f.error_notification %>
|
||||
|
||||
<div class="form-inputs">
|
||||
|
||||
@@ -2,5 +2,5 @@
|
||||
|
||||
<%= render 'form', settings_lookup: @settings_lookup %>
|
||||
|
||||
<%= link_to 'Show', @settings_lookup %> |
|
||||
<%= link_to 'Show', settings_lookup_path(@settings_lookup) %> |
|
||||
<%= link_to 'Back', settings_lookups_path %>
|
||||
|
||||
@@ -1,14 +1,23 @@
|
||||
<p id="notice"><%= notice %></p>
|
||||
|
||||
<h1>Settings Lookups</h1>
|
||||
<div class="page-header">
|
||||
<ul class="breadcrumb">
|
||||
<li><a href="<%= %>">Home</a></li>
|
||||
<li>Account</li>
|
||||
<span style="float: right">
|
||||
<%= link_to t('.new', :default => t("helpers.links.new")),new_settings_lookup_path,:class => 'btn btn-primary btn-sm' %>
|
||||
</span>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<table>
|
||||
<thead>
|
||||
<br>
|
||||
<div class="card">
|
||||
<table class="table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Lookup type</th>
|
||||
<th>Name</th>
|
||||
<th>Value</th>
|
||||
<th colspan="3"></th>
|
||||
<th colspan="">Action</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
@@ -24,8 +33,6 @@
|
||||
</tr>
|
||||
<% end %>
|
||||
</tbody>
|
||||
</table>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<br>
|
||||
|
||||
<%= link_to 'New Settings Lookup', new_settings_lookup_path %>
|
||||
|
||||
Reference in New Issue
Block a user