.well = link_to "#{t('admix.crud.new.link')} " + t("#{@collection_name}.#{@collection_name.singularize}"), new_resource_url, class: 'btn' = link_to t('admix.crud.list.title', resources: t("#{@collection_name}.#{@collection_name}")), collection_url, class: 'btn' - if not ['index', 'edit'].include? params[:action] - if not resource.nil? and not resource.new_record? = link_edit(resource, t('admix.crud.edit.link'), 'btn-primary') = link_destroy(resource, t('admix.crud.destroy.link'), 'btn-danger')