Questions tagged as 'views'

2
answers

Connect menu of 5 buttons to a view, with a single segue

How to use a single segue (1 segue for 5 buttons) instead of 5 segues (1 per button) leaving only one, which contains all the IBAaction and takes you to the other view depending on what you press, the content in the other view is presented in on...
asked by 11.08.2017 / 23:50
1
answer

Symfony Unable to find template "BlogBundle :: home.html.twig"

I am learning symfony 3.4 and I am trying to link a route with a view. When I run the program using the route: http://127.0.0.1:8000/home It generates the following: Unable to find template "BlogBundle :: home.html.twig" My routing.y...
asked by 06.02.2018 / 14:56
1
answer

Add action to the controller and invoke with link_to in the view: - ERROR Completed 400 Bad Request

In the classic application blog article ... I want to add an action in the article driver adjust by calling it post , basically I update the text column of the article method by adding just one asterist (*) each time it...
asked by 30.06.2017 / 19:43
1
answer

Absolute focus on android

I have problems when it comes to centering 2 elements in my android interface, the first one is an imageview, try to change the size of the image thinking it was because of its size but nothing happens, it looks like this: When what I...
asked by 13.10.2017 / 21:30
1
answer

view based on django functions

I am making progress in the development of django with an application, initially with the use of function-based views, my idea is also to handle views based on classes, and I am with an application that allows me to recover a record from a table...
asked by 13.12.2017 / 19:50
1
answer

record nil after post

I want to edit a record with an action in the controller but when the record is passed, nil arrives and of course I can not edit it. Attached the driver, the model and the view. You can see the code on GitHub (it's a very basic code...
asked by 23.06.2017 / 20:21
0
answers

how to change a boolean by clicking on an image with django?

I'm trying to change a Boolean value in my database by clicking on an image in Django I add my View, my Model and my html. View def reservacion(request): estatus = Asientos.objects.get(asiento=Aqui me gustaria colocar el valor del id del ht...
asked by 25.11.2018 / 01:23
0
answers

error failed to lookup view

I am currently starting with my learning with NodeJS and express. My problem arises with a route that sends me an error, in this case with the user path const router = require('express').Router(); router.get('/users/signin', (reg, res) =&g...
asked by 26.11.2018 / 01:06
0
answers

Generate Excel file with PhpSpreadsheet in Codeigniter from a view

I am trying to generate an Excel file with CodeIgniter and the PhpSpreadsheet library from a view. The report that I need to do is not a list but much more complex and I can generate them more quickly with a view and sending parameters. This is...
asked by 26.07.2018 / 22:50
1
answer

ng-click does not work with ng-view

I have started to create a page. it has header and main, the main loads the views and it works perfectly, but I want that when the secondary views are loaded the header is hidden, here the index: <html> <head> <link rel="sty...
asked by 25.08.2017 / 03:46