mailr/app/views/common/_input_form_field.html.haml
Wojciech Todryk 0daf487816 dev cont
2012-03-24 13:23:34 +01:00

9 lines
309 B
Plaintext
Executable file

.control-group
%label{:class=>"control-label",:for=>"#{attr}"}
= model.capitalize.constantize.human_attribute_name(attr)
.controls
%input{:type=>"text",:id=>"#{model}_#{attr}",:name=>"#{model}[#{attr}]"}
-#= render :partial => "common/input_form_field",:locals => { :model => 'user',:attr => 'login'}