diff --git a/app/assets/stylesheets/admin.scss b/app/assets/stylesheets/admin.scss index cd8241fca..11a481c1e 100644 --- a/app/assets/stylesheets/admin.scss +++ b/app/assets/stylesheets/admin.scss @@ -36,6 +36,11 @@ body.admin { input[type="text"], textarea { width: 100%; } + + .input-group input[type="text"] { + border-radius: 0; + margin-bottom: 0 !important; + } } table { diff --git a/app/controllers/admin/budgets_controller.rb b/app/controllers/admin/budgets_controller.rb index a2f92a39e..7953aae75 100644 --- a/app/controllers/admin/budgets_controller.rb +++ b/app/controllers/admin/budgets_controller.rb @@ -6,4 +6,7 @@ class Admin::BudgetsController < Admin::BaseController @budgets = Budget.send(@current_filter).order(created_at: :desc).page(params[:page]) end + def new + end + end diff --git a/app/views/admin/budgets/new.html.erb b/app/views/admin/budgets/new.html.erb new file mode 100644 index 000000000..66484f7b4 --- /dev/null +++ b/app/views/admin/budgets/new.html.erb @@ -0,0 +1,137 @@ +
| + Nombre del grupo + <%= link_to t("admin.budgets.new.add_heading"), "#", class: "button float-right" %> + | +||
|---|---|---|
| <%= t("admin.budgets.new.table_heading") %> | +<%= t("admin.budgets.new.table_amount") %> | +<%= t("admin.budgets.new.table_geozone") %> | +
|
+
+ <%= t("admin.budgets.new.no_heading") %>
+
+ |
+ ||
| + + | +||
| + Heading 1 name + | ++ 9999€ + | ++ + | +
| + Heading 2 name + | ++ 24000000€ + | ++ + | +
| + Heading 3 name + | ++ 1265000€ + | ++ + | +