styling progress
This commit is contained in:
@@ -7,10 +7,11 @@ dl.dl-horizontal.show-list
|
||||
- if @table.section.present?
|
||||
dt= Section.model_name.human
|
||||
dd= link_to @table.section.title, [:suppliers, @table.section]
|
||||
|
||||
//= supplier_form_actions :index, :edit, :destroy, object: @table, for: :tables
|
||||
.form-actions
|
||||
= link_to t("helpers.links.back"), suppliers_tables_path, class: 'btn'
|
||||
'
|
||||
= link_to t('helpers.links.edit'), [:edit, :suppliers, @table], class: 'btn'
|
||||
'
|
||||
= link_to t("helpers.links.destroy"), [:suppliers, @table], method: :delete, data: {confirm: are_you_sure? }, class: 'btn btn-danger'
|
||||
= link_to [:suppliers, :tables], class: 'form-action-index'
|
||||
span data-t="helpers.links.index"
|
||||
= link_to [:edit, :suppliers, @table], class: 'form-action-edit'
|
||||
span data-t="helpers.links.edit"
|
||||
= link_to [:suppliers, @table], method: :delete, data: {confirm: are_you_sure? }, class: 'form-action-destroy'
|
||||
span data-t="helpers.links.destroy"
|
||||
|
||||
Reference in New Issue
Block a user