Skip to content

Commit

Permalink
Merge pull request #12930 from snipe/fixes/added_help_text_to_support…
Browse files Browse the repository at this point in the history
…_url

Added help text to the now-dynamic manufacturer URLS
  • Loading branch information
snipe committed Apr 26, 2023
2 parents 0c5837e + 7c0ef58 commit ef69df2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions resources/lang/en/admin/manufacturers/message.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

return array(

'support_url_help' => 'Use <code>{LOCALE}</code> and <code>{SERIAL}</code> in your URL as variables to have those values auto-populate when viewing assets.',
'does_not_exist' => 'Manufacturer does not exist.',
'assoc_users' => 'This manufacturer is currently associated with at least one model and cannot be deleted. Please update your models to no longer reference this manufacturer and try again. ',

Expand Down
1 change: 1 addition & 0 deletions resources/views/manufacturers/edit.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
</label>
<div class="col-md-6">
<input class="form-control" type="text" name="support_url" id="support_url" value="{{ old('support_url', $item->support_url) }}" />
<p class="help-block">{!! trans('admin/manufacturers/message.support_url_help') !!}</p>
{!! $errors->first('support_url', '<span class="alert-msg" aria-hidden="true"><i class="fas fa-times" aria-hidden="true"></i> :message</span>') !!}
</div>
</div>
Expand Down

0 comments on commit ef69df2

Please sign in to comment.