mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Fixing the HTML in the admin section
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
%h1 Enterprise Fees
|
||||
= content_for :page_title do
|
||||
Enterprise Fees
|
||||
|
||||
= ng_form_for @enterprise_fee_set, :url => main_app.bulk_update_admin_enterprise_fees_path, :html => {'ng-app' => 'enterprise_fees', 'ng-controller' => 'AdminEnterpriseFeesCtrl'} do |enterprise_fee_set_form|
|
||||
= hidden_field_tag 'enterprise_id', @enterprise.id if @enterprise
|
||||
|
||||
@@ -1,10 +1,9 @@
|
||||
.toolbar{'data-hook' => "toolbar"}
|
||||
%ul.actions
|
||||
%li
|
||||
= button_link_to "New Enterprise Group", main_app.new_admin_enterprise_group_path, :icon => 'add', :id => 'admin_new_enterprise_group_link'
|
||||
%br.clear/
|
||||
= content_for :page_title do
|
||||
Enterprise Groups
|
||||
|
||||
%h1 Enterprise Groups
|
||||
= content_for :page_actions do
|
||||
%li#new_enterprise_group_link
|
||||
= button_link_to "New Enterprise Group", main_app.new_admin_enterprise_group_path, :icon => 'add', :id => 'admin_new_enterprise_group_link'
|
||||
|
||||
%table.index#listing_enterprise_groups
|
||||
%thead
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
<div class="toolbar" data-hook="toolbar">
|
||||
<ul class="actions">
|
||||
<li>
|
||||
<%= button_link_to "New Enterprise", main_app.new_admin_enterprise_path, :icon => 'add', :id => 'admin_new_enterprise_link' %>
|
||||
</li>
|
||||
</ul>
|
||||
<br class="clear" />
|
||||
</div>
|
||||
<% content_for :page_title do %>
|
||||
Enterprises
|
||||
<% end %>
|
||||
|
||||
<% content_for :page_actions do %>
|
||||
<li id="new_product_link">
|
||||
<%= button_link_to "New Enterprise", main_app.new_admin_enterprise_path, :icon => 'add', :id => 'admin_new_enterprise_link' %>
|
||||
</li>
|
||||
<% end %>
|
||||
|
||||
<h1>Enterprises</h1>
|
||||
|
||||
<%= form_for @enterprise_set, :url => main_app.bulk_update_admin_enterprises_path do |f| %>
|
||||
<table class="index" id="listing_enterprises">
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
.toolbar{'data-hook' => "toolbar"}
|
||||
%ul.actions
|
||||
%li
|
||||
= button_link_to "New Order Cycle", main_app.new_admin_order_cycle_path, :icon => 'add', :id => 'admin_new_order_cycle_link'
|
||||
%br.clear/
|
||||
= content_for :page_title do
|
||||
Order Cycles
|
||||
|
||||
= content_for :page_actions do
|
||||
%li#new_order_cycle_link
|
||||
= button_link_to "New Order Cycle", main_app.new_admin_order_cycle_path, :icon => 'add', :id => 'admin_new_order_cycle_link'
|
||||
|
||||
|
||||
%h1 Order Cycles
|
||||
|
||||
= form_for @order_cycle_set, :url => main_app.bulk_update_admin_order_cycles_path do |f|
|
||||
%table.index#listing_order_cycles
|
||||
|
||||
Reference in New Issue
Block a user