-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ed03df5
commit e4b2295
Showing
58 changed files
with
175 additions
and
175 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ers/admin/post_bin_requests_controller.rb → ...lers/crud/post_bin_requests_controller.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
class Admin::PostBinRequestsController < ApplicationController | ||
class Crud::PostBinRequestsController < ApplicationController | ||
expose(:post_bin_request) | ||
expose(:post_bin_requests) { PostBinRequest.all.order(created_at: :desc).limit(10) } | ||
end |
4 changes: 2 additions & 2 deletions
4
app/controllers/admin/projects_controller.rb → app/controllers/crud/projects_controller.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
class Crud::RawHooksController < ApplicationController | ||
expose(:raw_hook) | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
app/views/admin/books/_form.html.haml → app/views/crud/books/_form.html.haml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
= form_with model: [:admin, book] do |form| | ||
= form_with model: [:crud, book] do |form| | ||
= form.text_field :isbn | ||
= form.date_field :finished_on | ||
= form.button button_label |
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions
4
app/views/admin/csv_uploads/edit.html.haml → app/views/crud/csv_uploads/edit.html.haml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
%h1 Edit CSV Upload #{csv_upload.id} | ||
|
||
%p= link_to "Show CSV Upload", admin_csv_upload_path(csv_upload) | ||
%p= link_to "Show CSV Upload", crud_csv_upload_path(csv_upload) | ||
|
||
= form_with model: [:admin, csv_upload] do |form| | ||
= form_with model: [:crud, csv_upload] do |form| | ||
= form.text_field :original_filename, placeholder: "original filename" | ||
= form.button "update" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
app/views/admin/csv_uploads/new.html.haml → app/views/crud/csv_uploads/new.html.haml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
%h1 CSV Upload #{csv_upload.id} | ||
|
||
%p= link_to "CSV Upload List", crud_csv_uploads_path | ||
|
||
%p= link_to "Edit CSV Upload", edit_crud_csv_upload_path(csv_upload) | ||
|
||
%p= link_to "Delete CSV Upload", crud_csv_upload_path(csv_upload), data: { turbo_method: :delete, turbo_confirm: "Are you sure?" } | ||
|
||
= render partial: "attrs_table", locals: { attrs: csv_upload.table_attrs } | ||
|
||
%h2 Data | ||
|
||
%pre.text-off-black.h-72 | ||
%code= csv_upload.data |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
%h1 Edit Financial Account #{financial_account.id} | ||
|
||
%p= link_to "Show Financial Account", crud_financial_account_path(financial_account) | ||
|
||
= form_with model: [:crud, financial_account] do |form| | ||
= form.text_field :name, placeholder: "name" | ||
= form.button "update" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
%h1 New Financial Account | ||
|
||
%p= link_to "Financial Account List", crud_financial_accounts_path | ||
|
||
= form_with model: [:crud, financial_account] do |form| | ||
= form.text_field :name, placeholder: "name" | ||
= form.button "create" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
%h1 Financial Account #{financial_account.id} | ||
|
||
%p= link_to "Financial Account List", crud_financial_accounts_path | ||
|
||
%p= link_to "Edit Financial Account", edit_crud_financial_account_path(financial_account) | ||
|
||
%p= link_to "Delete Financial Account", crud_financial_account_path(financial_account), data: { turbo_method: :delete, turbo_confirm: "Are you sure?" } | ||
|
||
= render partial: "attrs_table", locals: { attrs: financial_account.table_attrs } |
2 changes: 1 addition & 1 deletion
2
app/views/admin/gift_ideas/_form.html.haml → app/views/crud/gift_ideas/_form.html.haml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
app/views/admin/gift_ideas/edit.html.haml → app/views/crud/gift_ideas/edit.html.haml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
%h1 Edit Gift Idea #{gift_idea.id} | ||
|
||
%p= link_to "Show Gift Idea", admin_gift_idea_path(gift_idea) | ||
%p= link_to "Show Gift Idea", crud_gift_idea_path(gift_idea) | ||
|
||
= render "form", gift_idea: gift_idea, button_label: "update" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
app/views/admin/gift_ideas/new.html.haml → app/views/crud/gift_ideas/new.html.haml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
%h1 New Gift Idea | ||
|
||
%p= link_to "Gift Idea List", admin_gift_ideas_path | ||
%p= link_to "Gift Idea List", crud_gift_ideas_path | ||
|
||
= render "form", gift_idea: gift_idea, button_label: "create" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
%h1 Gift Idea #{gift_idea.id} | ||
|
||
%p= link_to "Gift Idea List", crud_gift_ideas_path | ||
|
||
%p= link_to "Edit Gift Idea", edit_crud_gift_idea_path(gift_idea) | ||
|
||
%p= link_to "Delete Gift Idea", crud_gift_idea_path(gift_idea), data: { turbo_method: :delete, turbo_confirm: "Are you sure?" } | ||
|
||
= render partial: "attrs_table", locals: { attrs: gift_idea.table_attrs } |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
Oops, something went wrong.