Skip to content

Commit

Permalink
Make the id field readonly when viewing a profile
Browse files Browse the repository at this point in the history
  • Loading branch information
jrouzierinverse committed Mar 6, 2015
1 parent 5cdd555 commit 3fe8e59
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions html/pfappserver/root/config/profile/tab-content.tt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[% IF item && item.id.defined %]
[% form.field('id').set_element_attr('readonly','readonly') %]
[% END %]
[% form.block('definition').render %]
[% IF form.field('filter') %]
<div class="control-group">
Expand Down

0 comments on commit 3fe8e59

Please sign in to comment.