# Remove tabs/options from the ¨Create template" view

**URL:** https://forum.opennebula.io/t/remove-tabs-options-from-the-create-template-view/700
**Category:** Product Support
**Created:** [May 6, 2015, 11:37am UTC](https://forum.opennebula.io/t/remove-tabs-options-from-the-create-template-view/700 "2015-05-06T11:37:03Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![esfreire](https://avatars.discourse-cdn.com/v4/letter/e/f4b2a3/32.png) [@esfreire](https://forum.opennebula.io/u/esfreire)
#### Post date: [May 6, 2015, 11:37am UTC](https://forum.opennebula.io/t/remove-tabs-options-from-the-create-template-view/700/1 "2015-05-06T11:37:03Z")

</div>

Hello all,

We would like to remove some options/tabs from the “Create template” view. I was checking and I think it is not possible to do this on the sunstone-views/.yaml files and that it is only possible by modifying the /usr/lib/one/sunstone/public/js/plugins/templates-tab.js file, could you please confirm this? If it is so, could you please tell me what code should I comment in order to hide these options? On the other hand, I understand this change would affect to all the views, is that correct?

Thanks in advance,  
Esteban

---

<div class="post-metadata">

### Author: ![esfreire](https://avatars.discourse-cdn.com/v4/letter/e/f4b2a3/32.png) [@esfreire](https://forum.opennebula.io/u/esfreire)
#### Post date: [May 6, 2015, 12:38pm UTC](https://forum.opennebula.io/t/remove-tabs-options-from-the-create-template-view/700/2 "2015-05-06T12:38:32Z")

</div>

Sorry, my fault 😕 . It is already explained how to remove/add tabs and its attributes on the following link:

[http://archives.opennebula.org/documentation:rel4.4:suns\_views](http://archives.opennebula.org/documentation:rel4.4:suns_views)

---

<div class="post-metadata">

### Author: ![esfreire](https://avatars.discourse-cdn.com/v4/letter/e/f4b2a3/32.png) [@esfreire](https://forum.opennebula.io/u/esfreire)
#### Post date: [May 6, 2015, 1:06pm UTC](https://forum.opennebula.io/t/remove-tabs-options-from-the-create-template-view/700/3 "2015-05-06T13:06:57Z")

</div>

In any case, How can I remove from the “General tab” in the “Create template” tab the “Hypervirsor” or “Cost” fields?

Any help is welcome 🙂

Thanks in advance,  
Esteban

---

<div class="post-metadata">

### Author: ![dmolina](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/dmolina/32/22_2.png) [@dmolina](https://forum.opennebula.io/u/dmolina)
#### Post date: [May 27, 2015, 9:07am UTC](https://forum.opennebula.io/t/remove-tabs-options-from-the-create-template-view/700/4 "2015-05-27T09:07:50Z")

</div>

The cost field can be disabled setting to false the showback flag in the view files (i.e: admin.yaml). For the hypervisor radio buttons you have to modify the code, if you want to hide them.

---

<div class="post-metadata">

### Author: ![esfreire](https://avatars.discourse-cdn.com/v4/letter/e/f4b2a3/32.png) [@esfreire](https://forum.opennebula.io/u/esfreire)
#### Post date: [May 27, 2015, 9:45am UTC](https://forum.opennebula.io/t/remove-tabs-options-from-the-create-template-view/700/5 "2015-05-27T09:45:44Z")

</div>

Hi Daniel,

Thank you very much for your answer.

Could you please indicate me the part of the code that I need to modify in order to hide for example the hypervisor radio buttons? and also the file to modify 😄

Thanks in advance,  
Esteban

---

<div class="post-metadata">

### Author: ![esfreire](https://avatars.discourse-cdn.com/v4/letter/e/f4b2a3/32.png) [@esfreire](https://forum.opennebula.io/u/esfreire)
#### Post date: [June 23, 2015, 2:55pm UTC](https://forum.opennebula.io/t/remove-tabs-options-from-the-create-template-view/700/6 "2015-06-23T14:55:21Z")

</div>

Hi,

Finally, I had some time to coming back to this issue so I am just auto replying to myself in order to close this issue. In order to hide the hypervisor radio buttons, it is necessary to comment the div section for **template\_hypervisor\_form** on /usr/lib/one/sunstone/public/js/plugins/templates-tab.js file 😄

Thanks,  
Esteban

---

<div class="post-metadata">

### Author: ![Marcel](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/marcel/32/5042_2.png) [@Marcel](https://forum.opennebula.io/u/Marcel)
#### Post date: [February 8, 2017, 10:53am UTC](https://forum.opennebula.io/t/remove-tabs-options-from-the-create-template-view/700/7 "2017-02-08T10:53:27Z")

</div>

Any updates so far? Is there an option in the sunstone views config to disable this “feature”?  
@esfreire This method is not working any longer, sadly. (There is no directory `/usr/lib/one/sunstone/public/js`

Thanks,  
Marcel
