implement snippets lifetime

This commit is contained in:
Nihad Abbasov 2011-10-27 11:46:21 +05:00
parent 117d1e90fd
commit 8e1e17763f
5 changed files with 50 additions and 29 deletions

View file

@ -12,6 +12,9 @@
%tr
%td= f.label :file_name
%td= f.text_field :file_name, :placeholder => "example.rb"
%tr
%td= f.label "Lifetime"
%td= f.select :expires_at, snippet_lifetime_select_options
%tr
%td{:colspan => 2}
= f.label :content, "Code"