Skip to content

Commit

Permalink
Merge pull request #2160 from abhimanyu003/2.4
Browse files Browse the repository at this point in the history
Minor HTML tweaks
  • Loading branch information
jbrooksuk committed Oct 8, 2016
2 parents 318227f + 22cbe16 commit 16d5737
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion resources/views/dashboard/components/edit.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
</fieldset>

<input type="hidden" name="component[user_id]" value="{{ $component->agent_id || $current_user->id }}">
<input type="hidden" name="component[order]" value="{{ $component->order or 0 }}">
<input type="hidden" name="component[order]" value="{{ $component->order || 0 }}">

<div class="btn-group">
<button type="submit" class="btn btn-success">{{ trans('forms.save') }}</button>
Expand Down
4 changes: 2 additions & 2 deletions resources/views/dashboard/incidents/add.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@
<div class="form-group">
<label for="incident-name">{{ trans('forms.incidents.stick_status') }}</label>
<select name="stickied" class="form-control">
<option value='1'>{{ trans('forms.incidents.stickied') }}</option>
<option value='0' selected>{{ trans('forms.incidents.not_stickied') }}</option>
<option value="1">{{ trans('forms.incidents.stickied') }}</option>
<option value="0" selected>{{ trans('forms.incidents.not_stickied') }}</option>
</select>
</div>
@if(!$components_in_groups->isEmpty() || !$components_out_groups->isEmpty())
Expand Down
2 changes: 1 addition & 1 deletion resources/views/dashboard/incidents/update.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
</div>
</fieldset>

<input type="hidden" name="incident_id" value={{ $incident->id }}>
<input type="hidden" name="incident_id" value="{{ $incident->id }}">

<div class="form-group">
<div class="btn-group">
Expand Down
4 changes: 2 additions & 2 deletions resources/views/dashboard/schedule/add.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<div class="row">
<div class="col-md-12">
@include('dashboard.partials.errors')
<form class='form-vertical' name='ScheduleForm' role='form' method='POST' autocomplete="off">
<form class="form-vertical" name="ScheduleForm" role="form" method="POST" autocomplete="off">
<input type="hidden" name="_token" value="{{ csrf_token() }}">
<input type="hidden" name="visible" value="1">
<fieldset>
Expand All @@ -35,7 +35,7 @@
</div>
<div class="form-group">
<label>{{ trans('forms.incidents.message') }}</label>
<div class='markdown-control'>
<div class="markdown-control">
<textarea name="message" class="form-control autosize" rows="5" required>{{ Binput::old('incident.message') }}</textarea>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion resources/views/dashboard/schedule/edit.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<div class="row">
<div class="col-md-12">
@include('dashboard.partials.errors')
<form class='form-vertical' name='ScheduleForm' role='form' method='POST' autocomplete="off">
<form class="form-vertical" name="ScheduleForm" role="form" method='POST' autocomplete="off">
<input type="hidden" name="_token" value="{{ csrf_token() }}">
<input type="hidden" name="incident[visible]" value="1">
<fieldset>
Expand Down
2 changes: 1 addition & 1 deletion resources/views/dashboard/subscribers/add.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
</fieldset>

<div class="form-group">
<div class='btn-group'>
<div class="btn-group">
<button type="submit" class="btn btn-success">{{ trans('forms.add') }}</button>
<a class="btn btn-default" href="{{ route('dashboard.subscribers.index') }}">{{ trans('forms.cancel') }}</a>
</div>
Expand Down
2 changes: 1 addition & 1 deletion resources/views/dashboard/subscribers/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<div class="col-xs-3">
@if($subscriber->subscriptions->count() > 0)
{!! $subscriber->subscriptions->map(function ($subscription) {
return '<span class="label label-primary">'.$subscription->component->name.'</span>';
return sprintf('<span class="label label-primary">%s</span>', $subscription->component->name);
})->implode(' ') !!}
@else
<p>{{ trans('dashboard.subscribers.no_subscriptions') }}</p>
Expand Down
2 changes: 1 addition & 1 deletion resources/views/dashboard/team/add.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
</fieldset>

<div class="form-group">
<div class='btn-group'>
<div class="btn-group">
<button type="submit" class="btn btn-success">{{ trans('forms.add') }}</button>
<a class="btn btn-default" href="{{ route('dashboard.team.index') }}">{{ trans('forms.cancel') }}</a>
</div>
Expand Down
2 changes: 1 addition & 1 deletion resources/views/dashboard/team/invite.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
</fieldset>

<div class="form-group">
<div class='btn-group'>
<div class="btn-group">
<button type="submit" class="btn btn-success">{{ trans('forms.invite') }}</button>
<a class="btn btn-default" href="{{ route('dashboard.team.index') }}">{{ trans('forms.cancel') }}</a>
</div>
Expand Down

0 comments on commit 16d5737

Please sign in to comment.