WebEditor: base form

This commit is contained in:
Valeriy Sizov 2012-10-08 18:43:54 +03:00
parent 837972650c
commit f6a8e69449
4 changed files with 20 additions and 1 deletions

View file

@ -0,0 +1,10 @@
.file_holder
Edit file:
%span.file_name
= @tree.path.force_encoding('utf-8')
%br
= form_tag(project_tree_path(@project, @id), :method => :put) do
%textarea
= @tree.data
= hidden_field_tag 'last_commit', @last_commit
= submit_tag "Save"