<div class="search-item {{#unless isExisting}}search-item-new{{/unless}}">
    <div class="row">
        <div class="col-md-2">
            <a href="{{imdbUrl}}" target="_blank">
              {{#if remotePoster}}
                {{remotePoster}}
              {{else}}
                {{poster}}
              {{/if}}
            </a>
        </div>
        <div class="col-md-10">
            <div class="row">
                <div class="col-md-12">
                    <h2 class="movies-title">
                        {{titleWithYear}}

                        <span class="labels">
                            <span class="label label-default">{{network}}</span>
                            {{#unless_eq status compare="announced"}}
                                <span class="label label-danger">Released</span> <!-- TODO: Better handling of cases here! -->
                            {{/unless_eq}}
                        </span>
                    </h2>
                </div>
            </div>
            <div class="row new-movies-overview x-overview">
                <div class="col-md-12 overview-internal">
                    {{overview}}
                </div>
            </div>
            <div class="row">
                {{#unless existing}}
                    {{#unless path}}
                        <div class="form-group col-md-4">
                            <label>Path</label>
                            {{> RootFolderSelectionPartial rootFolders}}
                        </div>
                    {{/unless}}

                    <div class="form-group col-md-2">
                        <label>Monitor <i class="icon-sonarr-form-info monitor-tooltip x-monitor-tooltip"></i></label>
                        <select class="form-control col-md-2 x-monitor">
                            <option value="all">All</option>
                            <option value="missing">Missing</option>
                            <option value="none">None</option>
                        </select>
                    </div>

                    <div class="form-group col-md-2">
                        <label>Profile</label>
                        {{> ProfileSelectionPartial profiles}}
                    </div>

                    <div class="form-group col-md-2">
                        <label>Season Folders</label>

                        <div class="input-group">
                            <label class="checkbox toggle well">
                                <input type="checkbox" class="x-season-folder"/>
                                <p>
                                    <span>Yes</span>
                                    <span>No</span>
                                </p>
                                <div class="btn btn-primary slide-button"/>
                            </label>
                        </div>
                    </div>
                {{/unless}}

                {{#unless existing}}
                    {{#if title}}
                    <div class="form-group col-md-2">
                        <!--Uncomment if we need to add even more controls to add Movies-->
                        <label style="visibility: hidden">Add</label>
                        <div class="btn-group">
                            <button class="btn btn-success add x-add" title="Add">
                                <i class="icon-sonarr-add"></i>
                            </button>

                            <button class="btn btn-success add x-add-search" title="Add and Search for movie">
                                <i class="icon-sonarr-search"></i>
                            </button>
                        </div>
                    </div>
                    {{else}}
                      <label style="visibility: hidden">Add</label>
                        <div class="col-md-2" title="Movies require an English title">
                            <button class="btn add-movies disabled">
                                Add
                            </button>
                        </div>
                    {{/if}}
                {{else}}
                  <label style="visibility: hidden">Add</label>
                    <div class="col-md-2 col-md-offset-10">
                        <a class="btn btn-default" href="{{route}}">
                            Already Exists
                        </a>
                    </div>
                {{/unless}}
            </div>
        </div>
    </div>
</div>
