Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Video Album Delete Not Displaying View Fix #37

Closed
applecrusher opened this issue Feb 11, 2015 · 1 comment
Closed

Video Album Delete Not Displaying View Fix #37

applecrusher opened this issue Feb 11, 2015 · 1 comment

Comments

@applecrusher
Copy link

The video album view for delete, delete.blade.php, has the variable "photoalbum" instead of "videoalbum". You can just replace the delete.blade.php for the photo album with the code below or do a replace all.

    <ul class="nav nav-tabs">
        <li class="active"><a href="#tab-general" data-toggle="tab">{{ Lang::get("admin/modal.general") }}</a></li>
    </ul>
<form id="deleteForm" class="form-horizontal" method="post" action="@if (isset($videoalbum)){{ URL::to('admin/videoalbum/' . $videoalbum->id . '/delete') }}@endif" autocomplete="off">
    <input type="hidden" name="_token" value="{{{ csrf_token() }}}" />
    <input type="hidden" name="id" value="{{ $videoalbum->id }}" />
    <div class="form-group">
        <div class="controls">
           {{ Lang::get("admin/modal.delete_message") }}<br>
            <element class="btn btn-warning btn-sm close_popup"><span class="glyphicon glyphicon-ban-circle"></span>  {{ Lang::get("admin/modal.cancel") }}</element>
            <button type="submit" class="btn btn-sm btn-danger"><span class="glyphicon glyphicon-trash"></span> {{ Lang::get("admin/modal.delete") }}</button>
        </div>
    </div>
</form>

@Stop

@stojankukrika
Copy link
Collaborator

I will fixed in nex commit. TNX

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants