Sha256: 7a986521215d2c009bcc4575086427761cd7d59c14fd2be5622cccc32c580848

Contents?: true

Size: 675 Bytes

Versions: 4

Compression:

Stored size: 675 Bytes

Contents

<section class="experience">
  <header>
    <%= render partial: 'edit_icon' %>
    <h4>
      <%= t("profile.#{ @profile.subject.class.to_s.downcase }.experience") %>
    </h4>
  </header>

  <div class="briefing">
    <% if @profile.experience? %>
      <%= simple_format @profile.experience %>
    <% else %>
      <%= render partial: 'empty' %>
    <% end %>
  </div>

  <% if can? :update, @profile %>
    <div class="update">
      <%= form_for(@profile, :url => [current_subject, :profile]) do |f| %>
      
        <%= f.text_area :experience, :maxlength => 246, :rows => 5 %>

        <%= f.submit :class => "btn" %>
      <% end %>
    </div>
  <% end %>
</section>

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
social_stream-2.0.0.beta2 base/app/views/profiles/_experience.html.erb
social_stream-base-2.0.0.beta2 app/views/profiles/_experience.html.erb
social_stream-2.0.0.beta1 base/app/views/profiles/_experience.html.erb
social_stream-base-2.0.0.beta1 app/views/profiles/_experience.html.erb