Skip to content

Commit 659d292

Browse files
committed
Remove unneeded UI elements
1 parent 79dabf3 commit 659d292

File tree

1 file changed

+0
-35
lines changed

1 file changed

+0
-35
lines changed

app/views/ingredients/_form.html.erb

-35
Original file line numberDiff line numberDiff line change
@@ -134,41 +134,6 @@
134134
<% end %>
135135
</div>
136136
</div>
137-
<div class="pt-8">
138-
<div>
139-
<h3 class="text-lg font-medium leading-6 text-gray-900">Dependencies</h3>
140-
<p class="mt-1 text-sm text-gray-500">Configure how this ingredient interacts with others.</p>
141-
</div>
142-
<div class="mt-6 grid grid-cols-1 gap-y-6 gap-x-4 sm:grid-cols-6">
143-
<div class="sm:col-span-6">
144-
<%= f.label :conflicts_with, "Conflicts With", class: "block text-sm font-medium text-gray-700" %>
145-
<div class="mt-1">
146-
<%= f.text_area :conflicts_with, rows: 3,
147-
class: "block w-full rounded-md border-gray-300 shadow-sm focus:border-indigo-500 focus:ring-indigo-500 sm:text-sm",
148-
placeholder: "Enter ingredient names (one per line)" %>
149-
</div>
150-
<p class="mt-2 text-sm text-gray-500">List of ingredients that cannot be used together with this one.</p>
151-
</div>
152-
<div class="sm:col-span-6">
153-
<%= f.label :requires, class: "block text-sm font-medium text-gray-700" %>
154-
<div class="mt-1">
155-
<%= f.text_area :requires, rows: 3,
156-
class: "block w-full rounded-md border-gray-300 shadow-sm focus:border-indigo-500 focus:ring-indigo-500 sm:text-sm",
157-
placeholder: "Enter ingredient names (one per line)" %>
158-
</div>
159-
<p class="mt-2 text-sm text-gray-500">List of ingredients that must be present for this one to work.</p>
160-
</div>
161-
<div class="sm:col-span-6">
162-
<%= f.label :configures_with, "Configuration Schema", class: "block text-sm font-medium text-gray-700" %>
163-
<div class="mt-1">
164-
<%= f.text_area :configures_with, rows: 5,
165-
class: "block w-full rounded-md border-gray-300 font-mono text-sm shadow-sm focus:border-indigo-500 focus:ring-indigo-500",
166-
placeholder: "Enter YAML configuration schema" %>
167-
</div>
168-
<p class="mt-2 text-sm text-gray-500">YAML schema defining the configuration options for this ingredient.</p>
169-
</div>
170-
</div>
171-
</div>
172137
</div>
173138
<div class="pt-5">
174139
<div class="flex justify-end">

0 commit comments

Comments
 (0)