Sha256: 39b18d7665574ffc2ec1e955a5a6b99108e3ff1f9b472e8680caade03414d250

Contents?: true

Size: 747 Bytes

Versions: 5

Compression:

Stored size: 747 Bytes

Contents

<% content_for :title, t(:rename_file) -%>

<h1 class="title"><%= content_for :title %></h1>
<%= form_for @file, :url => {:action => 'update'} do |f| %>
    <% if f.error_messages.size > 0 %>
        <div class="notification is-danger">
          <%= f.error_messages %>
        </div>
    <% end %>
    <div class="field">
      <%= f.label :name, class: 'label' %>
      <div class="control">
        <%= f.text_field :attachment_file_name, class: 'input' %>
      </div>
    </div>
    <div class="field is-grouped">
      <div class="control">
        <%= f.submit t(:save), class: 'button is-link' %>
      </div>
      <div class="control">
        <%= link_to t(:back), @folder, class: 'button is-text' %>
      </div>
    </div>
<% end %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
boxroom-0.0.5 app/views/boxroom/files/edit.html.erb
boxroom-0.0.4 app/views/boxroom/files/edit.html.erb
boxroom-0.0.3 app/views/boxroom/files/edit.html.erb
boxroom-0.0.2 app/views/boxroom/files/edit.html.erb
boxroom-0.0.1 app/views/boxroom/files/edit.html.erb