diff --git a/resources/lang/en-US/general.php b/resources/lang/en-US/general.php index fe3ada1a29..0754d70468 100644 --- a/resources/lang/en-US/general.php +++ b/resources/lang/en-US/general.php @@ -502,5 +502,6 @@ return [ 'action_source' => 'Action Source', 'or' => 'or', 'url' => 'URL', + 'edit_fieldset' => 'Edit fieldset fields and options', ]; diff --git a/resources/views/custom_fields/index.blade.php b/resources/views/custom_fields/index.blade.php index 08f2fb3845..d8eeae1d56 100644 --- a/resources/views/custom_fields/index.blade.php +++ b/resources/views/custom_fields/index.blade.php @@ -73,7 +73,14 @@ @can('update', $fieldset) - + + + + + + {{ trans('button.edit') }} @@ -82,9 +89,9 @@ @can('delete', $fieldset) {{ Form::open(['route' => array('fieldsets.destroy', $fieldset->id), 'method' => 'delete','style' => 'display:inline-block']) }} @if($fieldset->models->count() > 0) - + @else - + @endif {{ Form::close() }} @endcan @@ -188,7 +195,7 @@ {{ Form::open(array('route' => array('fields.destroy', $field->id), 'method' => 'delete', 'style' => 'display:inline-block')) }} @can('update', $field) - + {{ trans('button.edit') }} @@ -197,11 +204,11 @@ @can('delete', $field) @if($field->fieldset->count()>0) - @else -