socialforge/app/views/web_footer_companies/edit.html.erb

19 lines
794 B
Plaintext

<h3><%= link_to l(:label_cooperation_compnay), web_footer_companies_path %> &#187; <%=l(:label_edit_company)%></h3>
<%= labelled_form_for @company do |f| %>
<%= error_messages_for 'tracker' %>
<div>
<div class="box tabular">
<p><%= f.text_field :name, :required => true %></p>
<p><%= f.text_field :url, :required => true %></p>
<p><%= l(:label_url_prompt) %></p>
<p>
<label for='attachments_fields'>&nbsp;&nbsp;&nbsp;<%= l(:label_upload_logo) %>:</label>
</p>
<div style="margin-left: 75px;" id="avatar">
<%= render :partial=>"avatar/avatar_form",:style => "display:inline",:locals=> {source:@company} %>
</div>
</div>
<%= submit_tag l(:button_save) %>
</div>
<% end %>