Sha256: 78fb8e5bee88ce532ed826f69a6535f971b0d2cf2607a0531bb5d175af4fecf6

Contents?: true

Size: 669 Bytes

Versions: 13

Compression:

Stored size: 669 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

13 entries across 13 versions & 2 rubygems

Version Path
social_stream-2.1.1 base/app/views/profiles/_experience.html.erb
social_stream-2.1.0 base/app/views/profiles/_experience.html.erb
social_stream-base-2.1.0 app/views/profiles/_experience.html.erb
social_stream-2.0.4 base/app/views/profiles/_experience.html.erb
social_stream-base-2.0.4 app/views/profiles/_experience.html.erb
social_stream-2.0.3 base/app/views/profiles/_experience.html.erb
social_stream-base-2.0.3 app/views/profiles/_experience.html.erb
social_stream-2.0.2 base/app/views/profiles/_experience.html.erb
social_stream-base-2.0.2 app/views/profiles/_experience.html.erb
social_stream-2.0.1 base/app/views/profiles/_experience.html.erb
social_stream-base-2.0.1 app/views/profiles/_experience.html.erb
social_stream-2.0.0 base/app/views/profiles/_experience.html.erb
social_stream-base-2.0.0 app/views/profiles/_experience.html.erb